um: allow SUBARCH=x86
authorAl Viro <viro@zeniv.linux.org.uk>
Sat, 11 Feb 2012 11:15:50 +0000 (06:15 -0500)
committerRichard Weinberger <richard@nod.at>
Sat, 24 Mar 2012 23:29:56 +0000 (00:29 +0100)
nicked from patch by dwmw2 back in July

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Richard Weinberger <richard@nod.at>
arch/x86/um/Kconfig

index b2b54d2..9926e11 100644 (file)
@@ -15,8 +15,8 @@ config UML_X86
        select GENERIC_FIND_FIRST_BIT
 
 config 64BIT
-       bool
-       default SUBARCH = "x86_64"
+       bool "64-bit kernel" if SUBARCH = "x86"
+       default SUBARCH != "i386"
 
 config X86_32
        def_bool !64BIT