From patchwork Mon May 26 05:54:56 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Abhilash Kesavan X-Patchwork-Id: 4239651 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id B32CF9F1E7 for ; Mon, 26 May 2014 05:56:07 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id B839720149 for ; Mon, 26 May 2014 05:56:06 +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 F03762010E for ; Mon, 26 May 2014 05:56:05 +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 1Wonr3-0003t7-2p; Mon, 26 May 2014 05:53:49 +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 1Wonr1-0003rx-GH for linux-arm-kernel@lists.infradead.org; Mon, 26 May 2014 05:53:48 +0000 Received: from epcpsbgr2.samsung.com (u142.gpu120.samsung.co.kr [203.254.230.142]) by mailout1.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0N66001SR311RWE0@mailout1.samsung.com> for linux-arm-kernel@lists.infradead.org; Mon, 26 May 2014 14:53:25 +0900 (KST) Received: from epcpsbgm2.samsung.com ( [172.20.52.125]) by epcpsbgr2.samsung.com (EPCPMTA) with SMTP id C2.A6.19452.4D6D2835; Mon, 26 May 2014 14:53:24 +0900 (KST) X-AuditID: cbfee68e-b7fb96d000004bfc-f5-5382d6d475c8 Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 0C.08.07139.4D6D2835; Mon, 26 May 2014 14:53:24 +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 <0N66009BC30TGKC0@mmp1.samsung.com>; Mon, 26 May 2014 14:53:24 +0900 (KST) From: Abhilash Kesavan To: linux-samsung-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, kgene.kim@samsung.com, t.figa@samsung.com Subject: [PATCH] arm: exynos: Fix "allmodconfig" build errors in mcpm and hotplug Date: Mon, 26 May 2014 11:24:56 +0530 Message-id: <1401083696-25702-1-git-send-email-a.kesavan@samsung.com> X-Mailer: git-send-email 1.7.9.5 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrOLMWRmVeSWpSXmKPExsWyRsSkVvfKtaZgg9a5EhaP1yxmsuhdcJXN YtPja6wWM87vY7JYP+M1iwOrx+Yl9R59W1YxenzeJBfAHMVlk5Kak1mWWqRvl8CVsa9zB3PB V76KTb2X2BsY3/B0MXJySAiYSDxcN4kFwhaTuHBvPRuILSSwlFHi2hVJmJo5PzpZuxi5gOKL GCVmNncwQzh9TBJH7u8A62YT0JNY8O8rM4gtIlAhcfHNHyYQm1lAR2LD/PVgNcICwRKz/2wD msTBwSKgKvFrXwlImFfAVeLhkkcsIGEJAQWJOZNsQMZLCDxnk9i75TErSA2LgIDEt8mHoGpk JTYdYIa4TVLi4IobLBMYBRcwMqxiFE0tSC4oTkovMtIrTswtLs1L10vOz93ECAzE0/+e9e1g vHnA+hBjMtC4icxSosn5wEDOK4k3NDYzsjA1MTU2Mrc0I01YSZx30cOkICGB9MSS1OzU1ILU ovii0pzU4kOMTBycUg2MzLb+Sz/yS9y9dO5Xu9xagf3ztyicmHDc9dO+fXLnX79N+OXcmFXg vTh97s/THxWqi9n4e3On8Qqt1pt0KkV7062DS34ebAkSir7PqLRwVvXRHu27JnOSzbMW/lge 6rrBTylNXSnA2aB9R+7jgErBIz+EGOfYqUQezvd4FCzPxpXzbdY89XdSSizFGYmGWsxFxYkA pLvI51oCAAA= X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrKIsWRmVeSWpSXmKPExsVy+t9jAd0r15qCDV5dFbB4vGYxk0Xvgqts FpseX2O1mHF+H5PF+hmvWRxYPTYvqffo27KK0ePzJrkA5qgGRpuM1MSU1CKF1Lzk/JTMvHRb Je/geOd4UzMDQ11DSwtzJYW8xNxUWyUXnwBdt8wcoJVKCmWJOaVAoYDE4mIlfTtME0JD3HQt YBojdH1DguB6jAzQQMIaxox9nTuYC77yVWzqvcTewPiGp4uRk0NCwERizo9OVghbTOLCvfVs XYxcHEICixglZjZ3MEM4fUwSR+7vYAGpYhPQk1jw7ysziC0iUCFx8c0fJhCbWUBHYsP89WA1 wgLBErP/bAOaysHBIqAq8WtfCUiYV8BV4uGSRywgYQkBBYk5k2wmMHIvYGRYxSiaWpBcUJyU nmukV5yYW1yal66XnJ+7iREc6M+kdzCuarA4xCjAwajEw3vAuylYiDWxrLgy9xCjBAezkgjv hVygEG9KYmVValF+fFFpTmrxIcZkoN0TmaVEk/OBUZhXEm9obGJuamxqaWJhYmZJmrCSOO/B VutAIYH0xJLU7NTUgtQimC1MHJxSDYybEqxya1Z7/HTec+LWF61Fr15VTV1xQsbzW6Xs9auN t2/lZGQce3V36ZWUU6qvHMI57/V+7kmyn5Jpvm+9UotcnYpyT3PMHo5jaieLuJ+v07w6OSI5 QdH+z6e3b8/3LC3WVLSbs1T3jJJ6zruzOx7rlm4skmbUk8ud9Deu8rfV9mnKivYJa6yUWIoz Eg21mIuKEwFcBHF6uAIAAA== 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-20140525_225347_705383_AE953733 X-CRM114-Status: UNSURE ( 7.75 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -5.6 (-----) Cc: Abhilash Kesavan X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 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=-2.5 required=5.0 tests=BAYES_00,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 This fixes the following build errors: /tmp/ccRbZlaA.s: Assembler messages: /tmp/ccRbZlaA.s:69: Error: selected processor does not support ARM mode `isb ' /tmp/ccRbZlaA.s:75: Error: selected processor does not support ARM mode `isb ' /tmp/ccRbZlaA.s:76: Error: selected processor does not support ARM mode `dsb ' make[1]: *** [arch/arm/mach-exynos/hotplug.o] Error 1 /tmp/ccJEg4jw.s: Assembler messages: /tmp/ccJEg4jw.s:454: Error: selected processor does not support ARM mode `isb' /tmp/ccJEg4jw.s:455: Error: selected processor does not support ARM mode `dsb' /tmp/ccJEg4jw.s:465: Error: selected processor does not support ARM mode `isb' /tmp/ccJEg4jw.s:474: Error: selected processor does not support ARM mode `isb' /tmp/ccJEg4jw.s:475: Error: selected processor does not support ARM mode `dsb' /tmp/ccJEg4jw.s:516: Error: selected processor does not support ARM mode `isb' /tmp/ccJEg4jw.s:525: Error: selected processor does not support ARM mode `isb' /tmp/ccJEg4jw.s:526: Error: selected processor does not support ARM mode `dsb' make[1]: *** [arch/arm/mach-exynos/mcpm-exynos.o] Error 1 Reported-by: Sachin Kamat Signed-off-by: Abhilash Kesavan Tested-by: Sachin Kamat --- arch/arm/mach-exynos/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/mach-exynos/Makefile b/arch/arm/mach-exynos/Makefile index 6f36086..788f26d 100644 --- a/arch/arm/mach-exynos/Makefile +++ b/arch/arm/mach-exynos/Makefile @@ -22,8 +22,10 @@ obj-$(CONFIG_PM_GENERIC_DOMAINS) += pm_domains.o obj-$(CONFIG_SMP) += platsmp.o headsmp.o obj-$(CONFIG_HOTPLUG_CPU) += hotplug.o +CFLAGS_hotplug.o += -march=armv7-a plus_sec := $(call as-instr,.arch_extension sec,+sec) AFLAGS_exynos-smc.o :=-Wa,-march=armv7-a$(plus_sec) obj-$(CONFIG_EXYNOS5420_MCPM) += mcpm-exynos.o +CFLAGS_mcpm-exynos.o += -march=armv7-a