ANDROID: mm: fix build issue in spf when CONFIG_USERFAULTFD=n
When CONFIG_USERFAULTFD=n __VM_UFFD_FLAGS mask is undefined and produces build error. Fix it by making the check conditional on CONFIG_USERFAULTFD. Fixes: 4812532e ("ANDROID: mm: prevent speculative page fault handling for userfaults") Bug: 257443051 Bug: 260704658 Change-Id: Ie9ff98b840032eb18183b49e3566cf178359948f Signed-off-by:Suren Baghdasaryan <surenb@google.com> Signed-off-by:
Robin Peng <robinpeng@google.com>
Loading
Please sign in to comment