Commit 91ea5708 authored by Suren Baghdasaryan's avatar Suren Baghdasaryan Committed by Robin Peng
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
Bug: 260704658
Change-Id: Ie9ff98b840032eb18183b49e3566cf178359948f
Signed-off-by: default avatarSuren Baghdasaryan <surenb@google.com>
Signed-off-by: default avatarRobin Peng <robinpeng@google.com>
parent 09fc8254
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment