[PATCH 03/22] x86/compat: Separate ia32 and x32 compat ABIs

tim.gardner at canonical.com tim.gardner at canonical.com
Mon Oct 5 14:05:07 UTC 2015


From: Brian Gerst <brgerst at gmail.com>

BugLink: http://bugs.launchpad.net/bugs/1499089

The x32 ABI is now independent of the ia32 compat ABI.  Common
code is now conditional on CONFIG_COMPAT, but unshared code like
syscall entry, signal handling, and the VDSO are under separate
config options.

Signed-off-by: Brian Gerst <brgerst at gmail.com>
Cc: Andy Lutomirski <luto at amacapital.net>
Cc: Borislav Petkov <bp at alien8.de>
Cc: Denys Vlasenko <dvlasenk at redhat.com>
Cc: H. Peter Anvin <hpa at zytor.com>
Cc: Linus Torvalds <torvalds at linux-foundation.org>
Cc: Peter Zijlstra <peterz at infradead.org>
Cc: Thomas Gleixner <tglx at linutronix.de>
Link: http://lkml.kernel.org/r/1434974121-32575-13-git-send-email-brgerst@gmail.com
Signed-off-by: Ingo Molnar <mingo at kernel.org>
(cherry picked from commit 9b54050bfe438d9e1108211d28cb0b995b1f347c)
Signed-off-by: Tim Gardner <tim.gardner at canonical.com>
---
 arch/x86/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index 95730c9..24f4a0f 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -2536,7 +2536,7 @@ config IA32_AOUT
 
 config X86_X32
 	bool "x32 ABI for 64-bit mode"
-	depends on X86_64 && IA32_EMULATION
+	depends on X86_64
 	---help---
 	  Include code to run binaries for the x32 native 32-bit ABI
 	  for 64-bit processors.  An x32 process gets access to the
-- 
1.9.1





More information about the kernel-team mailing list