diff mbox series

[v2,5/6] x86/mm: Discard the defination of HAVE_ARCH_PICK_MMAP_LAYOUT

Message ID 20211011143150.318239-6-sxwjean@me.com (mailing list archive)
State New
Headers show
Series Use generic code for randomization of virtual address of x86 | expand

Commit Message

Xiongwei Song Oct. 11, 2021, 2:31 p.m. UTC
From: Xiongwei Song <sxwjean@gmail.com>

We've enabled ARCH_WANT_DEFAULT_TOPDOWN_MMAP_LAYOUT, we will always use
generic arch_pick_mmap_layout(), therefore don't need
HAVE_ARCH_PICK_MMAP_LAYOUT any more.

Signed-off-by: Xiongwei Song <sxwjean@gmail.com>
---
 arch/x86/include/asm/processor.h | 1 -
 1 file changed, 1 deletion(-)
diff mbox series

Patch

diff --git a/arch/x86/include/asm/processor.h b/arch/x86/include/asm/processor.h
index fb7a4f21d412..2360366ad328 100644
--- a/arch/x86/include/asm/processor.h
+++ b/arch/x86/include/asm/processor.h
@@ -709,7 +709,6 @@  extern int			bootloader_version;
 
 extern char			ignore_fpu_irq;
 
-#define HAVE_ARCH_PICK_MMAP_LAYOUT 1
 #define ARCH_HAS_PREFETCHW
 #define ARCH_HAS_SPINLOCK_PREFETCH