@@ -1,5 +1,19 @@
mainmenu "User Mode Linux/$SUBARCH $KERNELVERSION Kernel Configuration"
+config 64BIT
+ bool "Build 64-bit kernel" if SUBARCH = "x86"
+ default SUBARCH != "i386"
+ ---help---
+ Say yes to build a 64-bit kernel - formerly known as x86_64
+ Say no to build a 32-bit kernel - formerly known as i386
+
+config X86_32
+ def_bool !64BIT
+ select HAVE_AOUT
+
+config X86_64
+ def_bool 64BIT
+
source "arch/um/Kconfig.common"
menu "UML-specific options"
@@ -18,17 +32,6 @@ config UML_X86
def_bool y
select GENERIC_FIND_FIRST_BIT
-config 64BIT
- bool
- default SUBARCH = "x86_64"
-
-config X86_32
- def_bool !64BIT
- select HAVE_AOUT
-
-config X86_64
- def_bool 64BIT
-
config RWSEM_XCHGADD_ALGORITHM
def_bool X86_XADD && 64BIT