]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
x86/kconfig: Clean up 32-bit compat options
authorIngo Molnar <mingo@kernel.org>
Tue, 15 Nov 2016 09:22:52 +0000 (10:22 +0100)
committerIngo Molnar <mingo@kernel.org>
Tue, 15 Nov 2016 09:55:03 +0000 (10:55 +0100)
commit953fee1d82f3454091e9ddc88205136d31f7f212
tree1a11dcc73d4a5be118f07656f7e587c84906fbcc
parent39f88911b9dc6c43391a0a3dd609cce8534e40e2
x86/kconfig: Clean up 32-bit compat options

Introduce a 'COMPAT_32' helper config value for 'X86_32 || IA32_EMULATION'
and use it.

Also move some selects to this new option, to remove more selects from
the generic X86 section.

Reported-by: Linus 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: Ingo Molnar <mingo@kernel.org>
arch/x86/Kconfig