diff options
author | kerstin jonsson <kerstin.jonsson@ericsson.com> | 2010-10-22 00:17:55 +0000 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2010-11-18 14:54:23 +1100 |
commit | 234a71a7d64832e4aa8d9b5c80133480b86f6de3 (patch) | |
tree | 26b6dd4e3aa81c8454d2ac399275b872972a18d5 /arch/powerpc/Kconfig | |
parent | 4a89261b02d421cc1bcadaaebb90bb7919db0854 (diff) | |
download | blackbird-op-linux-234a71a7d64832e4aa8d9b5c80133480b86f6de3.tar.gz blackbird-op-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/Kconfig | 4 |
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 |