OSDN Git Service

Revert "mm/uffd: fix warning without PTE_MARKER_UFFD_WP compiled in"
authorPeter Xu <peterx@redhat.com>
Mon, 24 Oct 2022 19:33:36 +0000 (15:33 -0400)
committerAndrew Morton <akpm@linux-foundation.org>
Wed, 9 Nov 2022 01:37:21 +0000 (17:37 -0800)
commitb12fdbf15f92b6cf5fecdd8a1855afe8809e5c58
tree65cccea20e27eb0909024e5a5eb0e516f4fbdc94
parent26215b7ee923b9251f7bb12c4e5f09dc465d35f2
Revert "mm/uffd: fix warning without PTE_MARKER_UFFD_WP compiled in"

With " mm/uffd: Fix vma check on userfault for wp" to fix the
registration, we'll be safe to remove the macro hacks now.

Link: https://lkml.kernel.org/r/20221024193336.1233616-3-peterx@redhat.com
Signed-off-by: Peter Xu <peterx@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/hugetlb.c
mm/memory.c
mm/mprotect.c