From patchwork Wed May 1 10:51:28 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dave Martin X-Patchwork-Id: 16554 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qe0-f70.google.com (mail-qe0-f70.google.com [209.85.128.70]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id DBD7523942 for ; Wed, 1 May 2013 10:51:51 +0000 (UTC) Received: by mail-qe0-f70.google.com with SMTP id b10sf2748876qen.9 for ; Wed, 01 May 2013 03:51:47 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:mime-version:x-beenthere:x-received:received-spf :x-received:x-forwarded-to:x-forwarded-for:delivered-to:x-received :received-spf:x-received:from:to:cc:subject:date:message-id:x-mailer :x-gm-message-state:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-google-group-id:list-post:list-help:list-archive:list-unsubscribe; bh=txdZ/n7xZIwe0tWhrBgk4K/lg+E+gTDvMTZKo67+LkM=; b=VUu1wiV79D80Nf442ZARxvJn/wvnQQIjOW0KzQZ3Qwt4+J2W7QLMghjXtAsYGjVduJ 9hMxBgQN3i6foKweF4n8UotbtJe3bPIyYuYXhhPZ+jWelorayOA9HQNfpD+6blAy0IVZ wwWm+TqInYJW62241sGtSryhePOknKETRX6Wg4NyJeV6j1cdQ2bq9E24ZVYdYfurCIdq pXsJyz5k/9GlHshY7wNp9f735VukMl6OoGksupmwxBIv67EAiF0lpVHjnO7+NcdtQd+3 Yay9AYp6ushWoqy0c8Yoj4aYfdvPx/l/Wzmz8SZebaFkbt40hbzSVNpmixyaLoch8LjW 7TVQ== X-Received: by 10.236.123.199 with SMTP id v47mr1453354yhh.21.1367405506821; Wed, 01 May 2013 03:51:46 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.40.198 with SMTP id z6ls684959qek.71.gmail; Wed, 01 May 2013 03:51:46 -0700 (PDT) X-Received: by 10.52.69.40 with SMTP id b8mr555661vdu.130.1367405506369; Wed, 01 May 2013 03:51:46 -0700 (PDT) Received: from mail-vb0-x22e.google.com (mail-vb0-x22e.google.com [2607:f8b0:400c:c02::22e]) by mx.google.com with ESMTPS id sa4si1020154vdc.49.2013.05.01.03.51.46 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 01 May 2013 03:51:46 -0700 (PDT) Received-SPF: neutral (google.com: 2607:f8b0:400c:c02::22e is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=2607:f8b0:400c:c02::22e; Received: by mail-vb0-f46.google.com with SMTP id 10so1125385vbe.19 for ; Wed, 01 May 2013 03:51:46 -0700 (PDT) X-Received: by 10.220.242.73 with SMTP id lh9mr686221vcb.49.1367405506225; Wed, 01 May 2013 03:51:46 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.58.127.98 with SMTP id nf2csp148882veb; Wed, 1 May 2013 03:51:45 -0700 (PDT) X-Received: by 10.194.78.137 with SMTP id b9mr2396234wjx.10.1367405505006; Wed, 01 May 2013 03:51:45 -0700 (PDT) Received: from mail-we0-x234.google.com (mail-we0-x234.google.com [2a00:1450:400c:c03::234]) by mx.google.com with ESMTPS id p3si1647647wiy.28.2013.05.01.03.51.44 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 01 May 2013 03:51:45 -0700 (PDT) Received-SPF: neutral (google.com: 2a00:1450:400c:c03::234 is neither permitted nor denied by best guess record for domain of dave.martin@linaro.org) client-ip=2a00:1450:400c:c03::234; Received: by mail-we0-f180.google.com with SMTP id x43so1114203wey.39 for ; Wed, 01 May 2013 03:51:44 -0700 (PDT) X-Received: by 10.194.240.132 with SMTP id wa4mr2236820wjc.52.1367405504573; Wed, 01 May 2013 03:51:44 -0700 (PDT) Received: from e103592.cambridge.arm.com (ec2-23-23-178-99.compute-1.amazonaws.com. [23.23.178.99]) by mx.google.com with ESMTPSA id fa6sm3068540wic.9.2013.05.01.03.51.41 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 01 May 2013 03:51:43 -0700 (PDT) From: Dave Martin To: patches@arm.linux.org.uk Cc: patches@linaro.org, Dave Martin , Nicolas Pitre Subject: [PATCH] ARM: mcpm: Add explicit AFLAGS to support v6/v7 multiplatform kernels Date: Wed, 1 May 2013 11:51:28 +0100 Message-Id: <1367405489-3789-1-git-send-email-dave.martin@linaro.org> X-Mailer: git-send-email 1.7.9.5 X-Gm-Message-State: ALoCoQlcnvslzDqa0mFE74p3mEfBi5PnrbHEMRZh2Y2+DmAPBY0k7N7F+6FzfDC0bvqBsBHf479T X-Original-Sender: dave.martin@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 2607:f8b0:400c:c02::22e is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , The full mcpm layer is not likely to be relevant to v6 based platforms, so a multiplatform kernel won't use that code if booted on v6 hardware. This patch modifies the AFLAGS for affected mcpm .S files to specify armv7-a explicitly for that code. Signed-off-by: Dave Martin Acked-by: Arnd Bergmann --- KernelVersion: 3.9-rc7 arch/arm/common/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/common/Makefile b/arch/arm/common/Makefile index 546a932..d65a0a8 100644 --- a/arch/arm/common/Makefile +++ b/arch/arm/common/Makefile @@ -12,6 +12,8 @@ obj-$(CONFIG_SHARP_SCOOP) += scoop.o obj-$(CONFIG_PCI_HOST_ITE8152) += it8152.o obj-$(CONFIG_ARM_TIMER_SP804) += timer-sp.o obj-$(CONFIG_MCPM) += mcpm_head.o mcpm_entry.o mcpm_platsmp.o vlock.o +AFLAGS_mcpm_head.o := -march=armv7-a +AFLAGS_vlock.o := -march=armv7-a CFLAGS_REMOVE_mcpm_entry.o = -pg obj-$(CONFIG_FIQ_GLUE) += fiq_glue.o fiq_glue_setup.o obj-$(CONFIG_FIQ_DEBUGGER) += fiq_debugger.o