From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754181Ab1HSL4e (ORCPT ); Fri, 19 Aug 2011 07:56:34 -0400 Received: from bear.ext.ti.com ([192.94.94.41]:36708 "EHLO bear.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753844Ab1HSLzr (ORCPT ); Fri, 19 Aug 2011 07:55:47 -0400 From: Abhilash K V To: , , CC: , , , Vaibhav Hiremath , Abhilash K V Subject: [PATCH 2/4] AM3517: Add armv7-a flag for sleepam3517.S Date: Fri, 19 Aug 2011 17:25:25 +0530 Message-ID: <1313754927-11992-3-git-send-email-abhilash.kv@ti.com> X-Mailer: git-send-email 1.6.2.4 In-Reply-To: <1313754927-11992-2-git-send-email-abhilash.kv@ti.com> References: <1313754927-11992-1-git-send-email-abhilash.kv@ti.com> <1313754927-11992-2-git-send-email-abhilash.kv@ti.com> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Vaibhav Hiremath Without "armv7-a" this flag build fails with following error - arch/arm/mach-omap2/sleep3517.S: Assembler messages: arch/arm/mach-omap2/sleep3517.S:80: Error: selected processor does not support `wfi' make[1]: *** [arch/arm/mach-omap2/sleep3517.o] Error 1 make: *** [arch/arm/mach-omap2] Error 2 Signed-off-by: Vaibhav Hiremath Signed-off-by: Abhilash K V --- arch/arm/mach-omap2/Makefile | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-omap2/Makefile b/arch/arm/mach-omap2/Makefile index 3fdf086..0e626da 100644 --- a/arch/arm/mach-omap2/Makefile +++ b/arch/arm/mach-omap2/Makefile @@ -70,6 +70,7 @@ obj-$(CONFIG_OMAP_SMARTREFLEX_CLASS3) += smartreflex-class3.o AFLAGS_sleep24xx.o :=-Wa,-march=armv6 AFLAGS_sleep34xx.o :=-Wa,-march=armv7-a$(plus_sec) +AFLAGS_sleep3517.o :=-Wa,-march=armv7-a$(plus_sec) ifeq ($(CONFIG_PM_VERBOSE),y) CFLAGS_pm_bus.o += -DDEBUG -- 1.7.1