Skip to content

Commit

Permalink
powerpc: Set CONFIG_32BIT on ppc32
Browse files Browse the repository at this point in the history
commit ffe8018 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>
  • Loading branch information
kerstin jonsson authored and Benjamin Herrenschmidt committed Nov 18, 2010
1 parent 4a89261 commit 234a71a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions arch/powerpc/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 234a71a

Please sign in to comment.