Message ID | 000201ce56bc$d399b770$7acd2650$@samsung.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org> X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) by patchwork1.kernel.org (Postfix) with ESMTP id AD3D740077 for <patchwork-linux-arm@patchwork.kernel.org>; Wed, 22 May 2013 07:21:07 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Uf3M7-0003CB-Gq; Wed, 22 May 2013 07:21:03 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1Uf3M4-0000yf-OF; Wed, 22 May 2013 07:21:00 +0000 Received: from mailout3.samsung.com ([203.254.224.33]) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1Uf3M0-0000xz-Qq for linux-arm-kernel@lists.infradead.org; Wed, 22 May 2013 07:20:58 +0000 Received: from epcpsbgr3.samsung.com (u143.gpu120.samsung.co.kr [203.254.230.143]) by mailout3.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MN6006XRV1LZUP0@mailout3.samsung.com> for linux-arm-kernel@lists.infradead.org; Wed, 22 May 2013 16:20:24 +0900 (KST) Received: from epcpsbgm1.samsung.com ( [203.254.230.50]) by epcpsbgr3.samsung.com (EPCPMTA) with SMTP id A0.9B.03969.8B17C915; Wed, 22 May 2013 16:20:24 +0900 (KST) X-AuditID: cbfee68f-b7f436d000000f81-b2-519c71b88118 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id E7.4A.16109.8B17C915; Wed, 22 May 2013 16:20:24 +0900 (KST) Received: from DOJG1HAN03 ([12.23.120.99]) by mmp2.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0MN6002XSV20KG60@mmp2.samsung.com>; Wed, 22 May 2013 16:20:24 +0900 (KST) From: Jingoo Han <jg1.han@samsung.com> To: 'Kukjin Kim' <kgene.kim@samsung.com> Subject: [PATCH] ARM: EXYNOS: add __cpuinit annotation to write_pen_release() Date: Wed, 22 May 2013 16:20:24 +0900 Message-id: <000201ce56bc$d399b770$7acd2650$@samsung.com> MIME-version: 1.0 X-Mailer: Microsoft Outlook 14.0 Thread-index: Ac5WvMC/goR1YW5iSp+DM8QRnLJLfg== Content-language: ko X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrGIsWRmVeSWpSXmKPExsVy+t8zI90dhXMCDXrPqltcXniJ1aJ3wVU2 i02Pr7FaXN41h81ixvl9TA6sHpuX1Hv0bVnF6PF5k1wAcxSXTUpqTmZZapG+XQJXxtONixgL HnBVzPuk28DYydnFyMkhIWAi8WLKKzYIW0ziwr31QDYXh5DAMkaJ+Rc+McMUnfl2mR0iMZ1R YsLZK0wQzi9Gid5DMxlBqtgE1CS+fDnMDmKLCGhIPN19hBGkiFmgl1Hi24SnYAlhAV+JScun gDWwCKhK3F/dDLabV8BSYtq3ZhYIW1Dix+R7YDazgJbE+p3HmSBseYnNa95CnaQgsePsa0aI ZXoS719BzGEWEJHY9+Id2GIJgU3sEl23ZrJCLBOQ+Db5ENBQDqCErMSmA1BzJCUOrrjBMoFR bBaS1bOQrJ6FZPUsJCsWMLKsYhRNLUguKE5KLzLWK07MLS7NS9dLzs/dxAiJs/4djHcPWB9i TAZaP5FZSjQ5HxineSXxhsZmRhamJqbGRuaWZqQJK4nzqrVYBwoJpCeWpGanphakFsUXleak Fh9iZOLglGpg5PYpP2YSuPamZ+ByvW15Cr7M+9Iv/tzGvdbX9NbJll+2u5MaHm1v5zbZf4x1 8lYOX9nID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-CFilter-Loop: Reflected X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130522_032057_109619_D3C61B13 X-CRM114-Status: GOOD ( 13.79 ) X-Spam-Score: -8.0 (--------) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-8.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- -5.0 RCVD_IN_DNSWL_HI RBL: Sender listed at http://www.dnswl.org/, high trust [203.254.224.33 listed in list.dnswl.org] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -1.1 RP_MATCHES_RCVD Envelope sender domain matches handover relay domain -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 0.0 T_HDRS_LCASE Odd capitalization of message header 0.0 T_MANY_HDRS_LCASE Odd capitalization of multiple message headers Cc: Jingoo Han <jg1.han@samsung.com>, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org |
diff --git a/arch/arm/mach-exynos/platsmp.c b/arch/arm/mach-exynos/platsmp.c index a0e8ff7..9676af2 100644 --- a/arch/arm/mach-exynos/platsmp.c +++ b/arch/arm/mach-exynos/platsmp.c @@ -58,7 +58,7 @@ static inline void __iomem *cpu_boot_reg(int cpu) * 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 __cpuinit write_pen_release(int val) { pen_release = val; smp_wmb();
The variable __cpuinitdata pen_release is referenced by write_pen_release(). Also, write_pen_release() is called by exynos_secondary_init() which is annotated with __cpuinit. Thus, __cpuinit should be added write_pen_release() to fix section mismatch warning. Fixed section mismatch warning as below: WARNING: vmlinux.o(.text.unlikely+0x1f4): 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 annotation or the annotation of pen_release is wrong. Signed-off-by: Jingoo Han <jg1.han@samsung.com> --- arch/arm/mach-exynos/platsmp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)