Skip to content

Commit 24e988c

Browse files
Anshuman Khandualtorvalds
Anshuman Khandual
authored andcommitted
mm: generalize ARCH_HAS_FILTER_PGPROT
ARCH_HAS_FILTER_PGPROT config has duplicate definitions on platforms that subscribe it. Instead make it a generic config option which can be selected on applicable platforms when required. Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Anshuman Khandual <[email protected]> Acked-by: Catalin Marinas <[email protected]> Cc: Will Deacon <[email protected]> Cc: Thomas Gleixner <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: "H. Peter Anvin" <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
1 parent 2c86599 commit 24e988c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

arch/x86/Kconfig

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -337,9 +337,6 @@ config GENERIC_CALIBRATE_DELAY
337337
config ARCH_HAS_CPU_RELAX
338338
def_bool y
339339

340-
config ARCH_HAS_FILTER_PGPROT
341-
def_bool y
342-
343340
config ARCH_HIBERNATION_POSSIBLE
344341
def_bool y
345342

mm/Kconfig

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -762,6 +762,9 @@ config ARCH_HAS_CURRENT_STACK_POINTER
762762
register alias named "current_stack_pointer", this config can be
763763
selected.
764764

765+
config ARCH_HAS_FILTER_PGPROT
766+
bool
767+
765768
config ARCH_HAS_PTE_DEVMAP
766769
bool
767770

0 commit comments

Comments
 (0)