Commit c440edc7 authored by Suren Baghdasaryan's avatar Suren Baghdasaryan
Browse files

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
Change-Id: Ie9ff98b840032eb18183b49e3566cf178359948f
Signed-off-by: default avatarSuren Baghdasaryan <surenb@google.com>
parent 2a62463d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment