From patchwork Wed Dec 1 05:57:51 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Rigby X-Patchwork-Id: 369681 X-Patchwork-Delegate: tony@atomide.com Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id oB15xQG8017831 for ; Wed, 1 Dec 2010 05:59:27 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753040Ab0LAF70 (ORCPT ); Wed, 1 Dec 2010 00:59:26 -0500 Received: from mail-yw0-f46.google.com ([209.85.213.46]:36369 "EHLO mail-yw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752665Ab0LAF7Z (ORCPT ); Wed, 1 Dec 2010 00:59:25 -0500 Received: by ywl5 with SMTP id 5so3197197ywl.19 for ; Tue, 30 Nov 2010 21:59:25 -0800 (PST) Received: by 10.150.145.21 with SMTP id s21mr14038456ybd.344.1291183164687; Tue, 30 Nov 2010 21:59:24 -0800 (PST) Received: from localhost.localdomain (c-98-202-243-83.hsd1.ut.comcast.net [98.202.243.83]) by mx.google.com with ESMTPS id k2sm1463890ybj.20.2010.11.30.21.59.22 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 30 Nov 2010 21:59:23 -0800 (PST) From: John Rigby To: linux-omap@vger.kernel.org Cc: Nicolas Pitre , John Rigby Subject: [PATCH] OMAP4: enable smc instruction in new assembler versions Date: Tue, 30 Nov 2010 22:57:51 -0700 Message-Id: <1291183071-21603-1-git-send-email-john.rigby@linaro.org> X-Mailer: git-send-email 1.7.3.1.120.g38a18 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter1.kernel.org [140.211.167.41]); Wed, 01 Dec 2010 05:59:27 +0000 (UTC) diff --git a/arch/arm/mach-omap2/Makefile b/arch/arm/mach-omap2/Makefile index 60e51bc..ee9ef4f 100644 --- a/arch/arm/mach-omap2/Makefile +++ b/arch/arm/mach-omap2/Makefile @@ -26,8 +26,9 @@ obj-$(CONFIG_LOCAL_TIMERS) += timer-mpu.o obj-$(CONFIG_HOTPLUG_CPU) += omap-hotplug.o obj-$(CONFIG_ARCH_OMAP4) += omap44xx-smc.o omap4-common.o -AFLAGS_omap-headsmp.o :=-Wa,-march=armv7-a -AFLAGS_omap44xx-smc.o :=-Wa,-march=armv7-a +plus_sec := $(call as-instr,.arch_extension sec,+sec) +AFLAGS_omap-headsmp.o :=-Wa,-march=armv7-a$(plus_sec) +AFLAGS_omap44xx-smc.o :=-Wa,-march=armv7-a$(plus_sec) # Functions loaded to SRAM obj-$(CONFIG_ARCH_OMAP2420) += sram242x.o