提交 39f88911 编写于 作者: I Ingo Molnar

x86/kconfig: Clean up IA32_EMULATION select

Move a 'if IA32_EMULATION' select from the generic X86 section
to the IA32_EMULATION option.
Reported-by: NLinus Torvalds <torvalds@linux-foundation.org>
Cc: Dave Hansen <dave.hansen@linux.intel.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: linux-kernel@vger.kernel.org
Signed-off-by: NIngo Molnar <mingo@kernel.org>
上级 52c8e601
...@@ -69,7 +69,6 @@ config X86 ...@@ -69,7 +69,6 @@ config X86
select CLKEVT_I8253 select CLKEVT_I8253
select CLOCKSOURCE_VALIDATE_LAST_CYCLE select CLOCKSOURCE_VALIDATE_LAST_CYCLE
select CLOCKSOURCE_WATCHDOG select CLOCKSOURCE_WATCHDOG
select COMPAT_OLD_SIGACTION if IA32_EMULATION
select DCACHE_WORD_ACCESS select DCACHE_WORD_ACCESS
select EDAC_ATOMIC_SCRUB select EDAC_ATOMIC_SCRUB
select EDAC_SUPPORT select EDAC_SUPPORT
...@@ -2701,9 +2700,10 @@ source "fs/Kconfig.binfmt" ...@@ -2701,9 +2700,10 @@ source "fs/Kconfig.binfmt"
config IA32_EMULATION config IA32_EMULATION
bool "IA32 Emulation" bool "IA32 Emulation"
depends on X86_64 depends on X86_64
select ARCH_WANT_OLD_COMPAT_IPC
select BINFMT_ELF select BINFMT_ELF
select COMPAT_BINFMT_ELF select COMPAT_BINFMT_ELF
select ARCH_WANT_OLD_COMPAT_IPC select COMPAT_OLD_SIGACTION
---help--- ---help---
Include code to run legacy 32-bit programs under a Include code to run legacy 32-bit programs under a
64-bit kernel. You should likely turn this on, unless you're 64-bit kernel. You should likely turn this on, unless you're
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册