From patchwork Thu Mar 21 21:51:14 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 2317191 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by patchwork1.kernel.org (Postfix) with ESMTP id 397A340213 for ; Thu, 21 Mar 2013 21:56:52 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1UInQg-0005vF-Ie; Thu, 21 Mar 2013 21:53:46 +0000 Received: from moutng.kundenserver.de ([212.227.126.171]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1UInO9-0005Bp-Q9 for linux-arm-kernel@lists.infradead.org; Thu, 21 Mar 2013 21:51:14 +0000 Received: from wuerfel.lan (HSI-KBW-46-223-90-92.hsi.kabel-badenwuerttemberg.de [46.223.90.92]) by mrelayeu.kundenserver.de (node=mrbap4) with ESMTP (Nemesis) id 0MVuae-1UCKCR3fSa-00XKqy; Thu, 21 Mar 2013 22:51:08 +0100 From: Arnd Bergmann To: Linus Walleij Subject: [PATCH 9/9] ARM: ux500: build hotplug.o for ARMv7-a Date: Thu, 21 Mar 2013 22:51:14 +0100 Message-Id: <1363902674-6456-10-git-send-email-arnd@arndb.de> X-Mailer: git-send-email 1.8.1.2 In-Reply-To: <1363902674-6456-1-git-send-email-arnd@arndb.de> References: <1363866553-15054-1-git-send-email-linus.walleij@stericsson.com> <1363902674-6456-1-git-send-email-arnd@arndb.de> X-Provags-ID: V02:K0:+ENj9hRCFvwrm7AENPSqsGyRe/OntVmm40R64j1rhFo IbUQ+2r4eQ6Nll7pLUUxJQfKLP5O5Vjt5sCh1uq6s271bdFw09 69WPh4c7gOJOKDrnX8XhbNgmW3WpeWmrct63rA8q3vAEW9PdbK CwjPsyAQqnZIaKh/wo53mtvmzl0WvDJ6a8hhFk6jy3LO3zWHNc 2TvYOUFXpqFD0rZHXFmiA8o0nEC8YptDrBBpLrrHD0aCSPQ7+Y 2Uj3c9ELwSOhYPeAEoPbWyOaGp00NlRkoLgCfLyNBxagTLfDPr NUdPir5sgwBE0Bb7j0BmNAnt51M49FzWuJXfqCw7847bmv8YrJ n3eIPxTzVLvCmLOozDFFv/KxetcB+9AT+lsn0a372 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130321_175110_052012_C3CA57C6 X-CRM114-Status: UNSURE ( 9.30 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -1.9 (-) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-1.9 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [212.227.126.171 listed in list.dnswl.org] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Cc: Arnd Bergmann , linux-arm-kernel@lists.infradead.org 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 If we try to build this file in a multiplatform configuration with ARMv6 enabled, gas complains about the dsb operation being undefined. Adding -march=armv7-a is safe because that code is only ever run on ux500, which is Cortex-A9. Signed-off-by: Arnd Bergmann --- arch/arm/mach-ux500/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/mach-ux500/Makefile b/arch/arm/mach-ux500/Makefile index f24710d..4d91505 100644 --- a/arch/arm/mach-ux500/Makefile +++ b/arch/arm/mach-ux500/Makefile @@ -15,3 +15,5 @@ obj-$(CONFIG_MACH_MOP500) += board-mop500.o board-mop500-sdi.o \ board-mop500-audio.o obj-$(CONFIG_SMP) += platsmp.o headsmp.o obj-$(CONFIG_HOTPLUG_CPU) += hotplug.o + +CFLAGS_hotplug.o += -march=armv7-a