aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/Kconfig
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2012-03-13 11:32:54 -0400
committerIngo Molnar <mingo@elte.hu>2012-03-13 11:33:03 -0400
commitef15eda98217f5183f457e7a2de8b79555ef908b (patch)
treef8f22b48f7bb237c9aa6646175f3e17eeac4af0e /arch/x86/Kconfig
parent5cb4ac3a583d4ee18c8682ab857e093c4a0d0895 (diff)
parentef334a20d84f52407a8a2afd02ddeaecbef0ad3d (diff)
Merge branch 'x86/cleanups' into perf/uprobes
Merge reason: We want to merge a dependent patch. Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/Kconfig')
-rw-r--r--arch/x86/Kconfig21
1 files changed, 17 insertions, 4 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index 481dbfcf14ed..d2a540f7d6cb 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -2168,9 +2168,9 @@ config IA32_EMULATION
2168 depends on X86_64 2168 depends on X86_64
2169 select COMPAT_BINFMT_ELF 2169 select COMPAT_BINFMT_ELF
2170 ---help--- 2170 ---help---
2171 Include code to run 32-bit programs under a 64-bit kernel. You should 2171 Include code to run legacy 32-bit programs under a
2172 likely turn this on, unless you're 100% sure that you don't have any 2172 64-bit kernel. You should likely turn this on, unless you're
2173 32-bit programs left. 2173 100% sure that you don't have any 32-bit programs left.
2174 2174
2175config IA32_AOUT 2175config IA32_AOUT
2176 tristate "IA32 a.out support" 2176 tristate "IA32 a.out support"
@@ -2178,9 +2178,22 @@ config IA32_AOUT
2178 ---help--- 2178 ---help---
2179 Support old a.out binaries in the 32bit emulation. 2179 Support old a.out binaries in the 32bit emulation.
2180 2180
2181config X86_X32
2182 bool "x32 ABI for 64-bit mode (EXPERIMENTAL)"
2183 depends on X86_64 && IA32_EMULATION && EXPERIMENTAL
2184 ---help---
2185 Include code to run binaries for the x32 native 32-bit ABI
2186 for 64-bit processors. An x32 process gets access to the
2187 full 64-bit register file and wide data path while leaving
2188 pointers at 32 bits for smaller memory footprint.
2189
2190 You will need a recent binutils (2.22 or later) with
2191 elf32_x86_64 support enabled to compile a kernel with this
2192 option set.
2193
2181config COMPAT 2194config COMPAT
2182 def_bool y 2195 def_bool y
2183 depends on IA32_EMULATION 2196 depends on IA32_EMULATION || X86_X32
2184 2197
2185config COMPAT_FOR_U64_ALIGNMENT 2198config COMPAT_FOR_U64_ALIGNMENT
2186 def_bool COMPAT 2199 def_bool COMPAT