From patchwork Fri Oct 22 10:17:55 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: kerstin jonsson X-Patchwork-Id: 68831 X-Patchwork-Delegate: benh@kernel.crashing.org Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from bilbo.ozlabs.org (localhost [127.0.0.1]) by ozlabs.org (Postfix) with ESMTP id 170821008E8 for ; Fri, 22 Oct 2010 21:33:37 +1100 (EST) X-Greylist: delayed 911 seconds by postgrey-1.32 at bilbo; Fri, 22 Oct 2010 21:33:29 EST Received: from mailgw10.se.ericsson.net (mailgw10.se.ericsson.net [193.180.251.61]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id B666AB70A8 for ; Fri, 22 Oct 2010 21:33:29 +1100 (EST) X-AuditID: c1b4fb3d-b7b28ae00000135b-be-4cc164d95183 Received: from esessmw0184.eemea.ericsson.se (Unknown_Domain [153.88.253.125]) by mailgw10.se.ericsson.net (Symantec Mail Security) with SMTP id 59.D4.04955.9D461CC4; Fri, 22 Oct 2010 12:18:01 +0200 (CEST) Received: from frau-vader.rnd.ki.sw.ericsson.se (153.88.115.8) by esessmw0184.eemea.ericsson.se (153.88.115.82) with Microsoft SMTP Server id 8.2.234.1; Fri, 22 Oct 2010 12:18:00 +0200 From: Kerstin Jonsson To: benh@kernel.crashing.org, linuxppc-dev@lists.ozlabs.org, linux-mmc@vger.kernel.org Subject: [PATCH 1/1] powerpc: Fix initramfs size in PPC32 build Date: Fri, 22 Oct 2010 12:17:55 +0200 Message-ID: <1287742675-7614-1-git-send-email-kerstin.jonsson@ericsson.com> X-Mailer: git-send-email 1.7.1 MIME-Version: 1.0 X-Brightmail-Tracker: AAAAAA== Cc: Kerstin Jonsson , Paul Mackerras X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org Errors-To: linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org 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 Cc: Paul Mackerras --- 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