From patchwork Tue Jun 4 15:36:48 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 17529 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-gg0-f199.google.com (mail-gg0-f199.google.com [209.85.161.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 137C025DF4 for ; Tue, 4 Jun 2013 15:36:59 +0000 (UTC) Received: by mail-gg0-f199.google.com with SMTP id o1sf332591ggn.6 for ; Tue, 04 Jun 2013 08:36:58 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-beenthere:x-forwarded-to:x-forwarded-for :delivered-to:from:to:cc:subject:date:message-id:x-mailer :in-reply-to:references:x-gm-message-state:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-google-group-id:list-post:list-help:list-archive:list-unsubscribe; bh=riYxuBwJQGKzGoaCYDanrKytIApryc0WLTwj6owCyzU=; b=QDcEmI30dxmfU36bXFAMOQc9tvAYFpw1YkcwpMW36fTBpAejgG634E7ZEnvS0Merlv N4bQXl4uWbQ8xLGGfg/uvFLTbzmm8BU2TE7ACcopTdxogwmmRI6FTiHGkNBGXW02yiS1 dnaW6xIEV8meDjdNKPx1UOI6ptGA0nNNDWJgoi11+m5I9EPjDa6sD3xCKjUX4I+/Cqa9 VQEvlxHIZjAp5yCeuCuoEaJclJJMdozKmjDcczsjmCs+tohggH9QKyv0yPZIR9ChnFgN 2oapRPmaUWtI8tAWuFpF/PuxAydNGYCIqVT4RDIQO3QFvOYrl0n/BiMTi0KJbRIn7i0a 8fBQ== X-Received: by 10.224.165.143 with SMTP id i15mr16708380qay.0.1370360218609; Tue, 04 Jun 2013 08:36:58 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.52.40 with SMTP id q8ls355556qeo.1.gmail; Tue, 04 Jun 2013 08:36:58 -0700 (PDT) X-Received: by 10.220.19.74 with SMTP id z10mr16014062vca.45.1370360218395; Tue, 04 Jun 2013 08:36:58 -0700 (PDT) Received: from mail-ve0-x230.google.com (mail-ve0-x230.google.com [2607:f8b0:400c:c01::230]) by mx.google.com with ESMTPS id q5si37840223vcw.15.2013.06.04.08.36.58 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 04 Jun 2013 08:36:58 -0700 (PDT) Received-SPF: neutral (google.com: 2607:f8b0:400c:c01::230 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=2607:f8b0:400c:c01::230; Received: by mail-ve0-f176.google.com with SMTP id c13so320994vea.35 for ; Tue, 04 Jun 2013 08:36:58 -0700 (PDT) X-Received: by 10.58.29.42 with SMTP id g10mr18671852veh.59.1370360218210; Tue, 04 Jun 2013 08:36:58 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.221.10.206 with SMTP id pb14csp131415vcb; Tue, 4 Jun 2013 08:36:57 -0700 (PDT) X-Received: by 10.181.13.169 with SMTP id ez9mr2103843wid.8.1370360217123; Tue, 04 Jun 2013 08:36:57 -0700 (PDT) Received: from mail-wi0-x230.google.com (mail-wi0-x230.google.com [2a00:1450:400c:c05::230]) by mx.google.com with ESMTPS id d17si2418470wiv.3.2013.06.04.08.36.56 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 04 Jun 2013 08:36:57 -0700 (PDT) Received-SPF: neutral (google.com: 2a00:1450:400c:c05::230 is neither permitted nor denied by best guess record for domain of lee.jones@linaro.org) client-ip=2a00:1450:400c:c05::230; Received: by mail-wi0-f176.google.com with SMTP id hr14so3876145wib.3 for ; Tue, 04 Jun 2013 08:36:56 -0700 (PDT) X-Received: by 10.180.198.140 with SMTP id jc12mr1980779wic.53.1370360216707; Tue, 04 Jun 2013 08:36:56 -0700 (PDT) Received: from localhost.localdomain (cpc34-aztw25-2-0-cust250.18-1.cable.virginmedia.com. [86.16.136.251]) by mx.google.com with ESMTPSA id w8sm4316114wiz.0.2013.06.04.08.36.55 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 04 Jun 2013 08:36:56 -0700 (PDT) From: Lee Jones To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: arnd@arndb.de, linus.walleij@stericsson.com, srinidhi.kasagar@stericsson.com, Lee Jones Subject: [PATCH 2/2] ARM: ux500: Silence compiler warnings due to missing __cpuinitdata Date: Tue, 4 Jun 2013 16:36:48 +0100 Message-Id: <1370360208-6500-2-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1370360208-6500-1-git-send-email-lee.jones@linaro.org> References: <1370360208-6500-1-git-send-email-lee.jones@linaro.org> X-Gm-Message-State: ALoCoQm8iCDfYNVmlPquCTHZbLzNlZkarcqI4DONTbmqJ+Qce9Mm/JGr5W3ddl4rZRdapEHF8Pv/ X-Original-Sender: lee.jones@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 2607:f8b0:400c:c01::230 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , WARNING: vmlinux.o(.text.unlikely+0x25c): Section mismatch in reference \ from the function write_pen_release() to the variable \ .cpuinit.data:pen_release The function write_pen_release() references the variable __cpuinitdata pen_release. This is often because write_pen_release lacks a __cpuinitdata Signed-off-by: Lee Jones --- arch/arm/mach-ux500/platsmp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-ux500/platsmp.c b/arch/arm/mach-ux500/platsmp.c index 14d9046..3a455d5 100644 --- a/arch/arm/mach-ux500/platsmp.c +++ b/arch/arm/mach-ux500/platsmp.c @@ -34,7 +34,7 @@ extern void u8500_secondary_startup(void); * observers, irrespective of whether they're taking part in coherency * or not. This is necessary for the hotplug code to work reliably. */ -static void write_pen_release(int val) +static void __cpuinitdata write_pen_release(int val) { pen_release = val; smp_wmb();