]> Pileus Git - ~andy/linux/blobdiff - arch/sparc/Kconfig
sparc: introduce CONFIG_BITS
[~andy/linux] / arch / sparc / Kconfig
index c8c7738f2a328f694e5d254b7b68eaa2d96f423a..cd8c585a6b02a96f923b62ecc206e3dd178ae31e 100644 (file)
@@ -46,7 +46,11 @@ config ARCH_DEFCONFIG
        default "arch/sparc/configs/sparc32_defconfig" if SPARC32
        default "arch/sparc/configs/sparc64_defconfig" if SPARC64
 
-
+# CONFIG_BITS can be used at source level to get 32/64 bits
+config BITS
+       int
+       default 32 if SPARC32
+       default 64 if SPARC64
 
 config 64BIT
        def_bool y if SPARC64