diff mbox series

[v2,6/6] x86/elf: Discard ARCH_HAS_ELF_RANDOMIZE selection

Message ID 20211011143150.318239-7-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, which always selects
ARCH_HAS_ELF_RANDOMIZE at the same time, so no need to select this config
again.

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

Patch

diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index 01a40b710103..2f7fbe06e6b4 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -72,7 +72,6 @@  config X86
 	select ARCH_HAS_DEBUG_VM_PGTABLE	if !X86_PAE
 	select ARCH_HAS_DEVMEM_IS_ALLOWED
 	select ARCH_HAS_EARLY_DEBUG		if KGDB
-	select ARCH_HAS_ELF_RANDOMIZE
 	select ARCH_HAS_FAST_MULTIPLIER
 	select ARCH_HAS_FILTER_PGPROT
 	select ARCH_HAS_FORTIFY_SOURCE