From patchwork Thu Jul 3 05:03:32 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Abhilash Kesavan X-Patchwork-Id: 4469451 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id F0AD9BEEAA for ; Thu, 3 Jul 2014 05:04:32 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 2F447203AA for ; Thu, 3 Jul 2014 05:04:32 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 4D76A20398 for ; Thu, 3 Jul 2014 05:04:29 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1X2Z9o-00082S-6V; Thu, 03 Jul 2014 05:02:04 +0000 Received: from mailout1.samsung.com ([203.254.224.24]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1X2Z9l-0007eR-G4 for linux-arm-kernel@lists.infradead.org; Thu, 03 Jul 2014 05:02:02 +0000 Received: from epcpsbgr3.samsung.com (u143.gpu120.samsung.co.kr [203.254.230.143]) by mailout1.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0N8400CR8DYM7610@mailout1.samsung.com> for linux-arm-kernel@lists.infradead.org; Thu, 03 Jul 2014 14:01:34 +0900 (KST) Received: from epcpsbgm2.samsung.com ( [172.20.52.126]) by epcpsbgr3.samsung.com (EPCPMTA) with SMTP id CB.D0.14704.EA3E4B35; Thu, 03 Jul 2014 14:01:34 +0900 (KST) X-AuditID: cbfee68f-b7fef6d000003970-ee-53b4e3ae3d0d Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 54.AF.05196.EA3E4B35; Thu, 03 Jul 2014 14:01:34 +0900 (KST) Received: from abhilash-ubuntu.sisodomain.com ([107.108.73.92]) by mmp1.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0N8400338DYAGM10@mmp1.samsung.com>; Thu, 03 Jul 2014 14:01:33 +0900 (KST) From: Abhilash Kesavan To: linux-samsung-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, kgene.kim@samsung.com Subject: [PATCH] ARM: EXYNOS: Fix the check for non-smp configuration Date: Thu, 03 Jul 2014 10:33:32 +0530 Message-id: <1404363812-26307-1-git-send-email-a.kesavan@samsung.com> X-Mailer: git-send-email 1.7.9.5 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrNLMWRmVeSWpSXmKPExsWyRsSkTnfd4y3BBqv3i1g8XrOYyeLvpGPs Fmv+Kln0LrjKZrHp8TVWixnn9zFZnLr+mc2B3eP3r0mMHjtn3WX32Lyk3uPKiSZWj74tqxg9 Pm+SC2CL4rJJSc3JLEst0rdL4Mq4ePMMY8EFtoqbt7azNTDuZ+1i5OSQEDCR6Lj4DcoWk7hw bz0biC0ksJRR4sn2gi5GdrCayfldjFxA0UWMErcurGeCcPqYJM5vucsMUs8moCex4N9XIJuD Q0QgReLdYgkQk1kgU2J9oyJIhbCAq0TjtI1MIDaLgKrErA/NLCA2L1D84MsJjCDlEgIKEnMm 2UAc08wu8eqZMUS5gMS3yYdYIEpkJTYdYIYokZQ4uOIGywRGwQWMDKsYRVMLkguKk9KLjPWK E3OLS/PS9ZLzczcxAgP29L9n/TsY7x6wPsSYDDRuIrOUaHI+MODzSuINjc2MLExNTI2NzC3N SBNWEue9/zApSEggPbEkNTs1tSC1KL6o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IAMo3PzKfAgAA DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140702_220201_708813_BC5D9C35 X-CRM114-Status: GOOD ( 10.07 ) X-Spam-Score: -5.0 (-----) Cc: olof@lixom.net, Abhilash Kesavan , kesavan.abhilash@gmail.com, arnd@arndb.de X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Commit 1754c42e3db5("ARM: exynos: move sysram info to exynos.c") missed out the CONFIG_ prefix causing exynos_sysram_init() to get called twice for SMP configurations. Signed-off-by: Abhilash Kesavan Reviewed-by: Sachin Kamat --- arch/arm/mach-exynos/exynos.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-exynos/exynos.c b/arch/arm/mach-exynos/exynos.c index f38cf7c..95cad25 100644 --- a/arch/arm/mach-exynos/exynos.c +++ b/arch/arm/mach-exynos/exynos.c @@ -297,7 +297,7 @@ static void __init exynos_dt_machine_init(void) * This is called from smp_prepare_cpus if we've built for SMP, but * we still need to set it up for PM and firmware ops if not. */ - if (!IS_ENABLED(SMP)) + if (!IS_ENABLED(CONFIG_SMP)) exynos_sysram_init(); exynos_cpuidle_init();