From: Kerstin Jonsson <kerstin.jonsson@ericsson.com>
To: benh@kernel.crashing.org, linuxppc-dev@lists.ozlabs.org,
linux-mmc@vger.kernel.org
Cc: Kerstin Jonsson <kerstin.jonsson@ericsson.com>,
Paul Mackerras <paulus@samba.org>
Subject: [PATCH 1/1] powerpc: Fix initramfs size in PPC32 build
Date: Fri, 22 Oct 2010 12:17:55 +0200 [thread overview]
Message-ID: <1287742675-7614-1-git-send-email-kerstin.jonsson@ericsson.com> (raw)
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>
Cc: Paul Mackerras <paulus@samba.org>
---
arch/powerpc/Kconfig | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig
index 50cc5d9..d536fe4 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
--
1.7.1
next reply other threads:[~2010-10-22 10:33 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-22 10:17 Kerstin Jonsson [this message]
2010-10-31 10:14 ` [PATCH 1/1] powerpc: Fix initramfs size in PPC32 build Geert Uytterhoeven
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1287742675-7614-1-git-send-email-kerstin.jonsson@ericsson.com \
--to=kerstin.jonsson@ericsson.com \
--cc=benh@kernel.crashing.org \
--cc=linux-mmc@vger.kernel.org \
--cc=linuxppc-dev@lists.ozlabs.org \
--cc=paulus@samba.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).