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 b2b54d2edf53979fb7daf770c0d4bf0215a73fe0..9926e11a772dbe9b5417fa204407c2ec9ee58878 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