summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/Kconfig
diff options
context:
space:
mode:
authorkerstin jonsson <kerstin.jonsson@ericsson.com>2010-10-22 02:17:55 +0200
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2010-11-18 04:54:23 +0100
commit234a71a7d64832e4aa8d9b5c80133480b86f6de3 (patch)
tree26b6dd4e3aa81c8454d2ac399275b872972a18d5 /arch/powerpc/Kconfig
parentpowerpc/mm: Fix build error in setup_initial_memory_limit (diff)
downloadlinux-234a71a7d64832e4aa8d9b5c80133480b86f6de3.tar.xz
linux-234a71a7d64832e4aa8d9b5c80133480b86f6de3.zip
powerpc: Set CONFIG_32BIT on ppc32
commit ffe8018c3424892c9590048fc36caa6c3e0c8a76 of the -mm tree fixes the initramfs size calculation for e.g. s390 but breaks it for 32bit architectures which do not define CONFIG_32BIT. This patch fix the problem for PPC32 which will elsewise end up with a __initramfs_size of 0. Signed-off-by: Kerstin Jonsson <kerstin.jonsson@ericsson.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/Kconfig')
-rw-r--r--arch/powerpc/Kconfig4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig
index b6447190e1a2..e625e9e034ae 100644
--- a/arch/powerpc/Kconfig
+++ b/arch/powerpc/Kconfig
@@ -4,6 +4,10 @@ config PPC32
bool
default y if !PPC64
+config 32BIT
+ bool
+ default y if PPC32
+
config 64BIT
bool
default y if PPC64