From patchwork Thu May 2 10:38:10 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dave Martin X-Patchwork-Id: 16576 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ye0-f198.google.com (mail-ye0-f198.google.com [209.85.213.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id BD608238EC for ; Thu, 2 May 2013 10:38:31 +0000 (UTC) Received: by mail-ye0-f198.google.com with SMTP id m13sf618396yen.1 for ; Thu, 02 May 2013 03:38:24 -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=/6yb2OHvdlTS56v/4xrZDLmKmsAoDXO3K/wTih7n46M=; b=Ke3Wuii4aCqwQ/x2j7nDulBe/k6M3UD6rMgtm5RTpRVm0S+T7xt3IGUmfxix6oZIAO y+Kd36M7SETuY1ta6JikDihd03o2QYEM5logoO5TK1rtF+4VLGaUum2xFhjqnOVzsnHG 4/58EstSwuusyLWXRKDtWZqZEbY6eJZpJTfVI5TjrnUeH66jprBTFp0krohxwe9Z3PJ2 wYu5UqDgDLQ3UHO/kJ9q8Yj1LuyGsgiWOQVpUH4WkQ9Egg87sqUec4sDlSLLGxgpDDOf LWlqlbnoJCRYHtEhsvmY3XexgU1XVK/YptLpHkoMoPtNAQPmmwLwl8aYCWB+b/utlPMK lbsQ== X-Received: by 10.236.61.42 with SMTP id v30mr5012156yhc.15.1367491104430; Thu, 02 May 2013 03:38:24 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.62.138 with SMTP id y10ls852332qer.74.gmail; Thu, 02 May 2013 03:38:24 -0700 (PDT) X-Received: by 10.220.172.2 with SMTP id j2mr1966671vcz.17.1367491104267; Thu, 02 May 2013 03:38:24 -0700 (PDT) Received: from mail-vc0-f169.google.com (mail-vc0-f169.google.com [209.85.220.169]) by mx.google.com with ESMTPS id ec8si2649003vdb.59.2013.05.02.03.38.24 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 02 May 2013 03:38:24 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.220.169 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.220.169; Received: by mail-vc0-f169.google.com with SMTP id gd11so333349vcb.28 for ; Thu, 02 May 2013 03:38:24 -0700 (PDT) X-Received: by 10.52.69.109 with SMTP id d13mr1651714vdu.75.1367491103696; Thu, 02 May 2013 03:38:23 -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 nf2csp195242veb; Thu, 2 May 2013 03:38:23 -0700 (PDT) X-Received: by 10.204.108.3 with SMTP id d3mr1949360bkp.130.1367491102243; Thu, 02 May 2013 03:38:22 -0700 (PDT) Received: from mail-bk0-x231.google.com (mail-bk0-x231.google.com [2a00:1450:4008:c01::231]) by mx.google.com with ESMTPS id c16si1592639bkw.166.2013.05.02.03.38.21 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 02 May 2013 03:38:22 -0700 (PDT) Received-SPF: neutral (google.com: 2a00:1450:4008:c01::231 is neither permitted nor denied by best guess record for domain of dave.martin@linaro.org) client-ip=2a00:1450:4008:c01::231; Received: by mail-bk0-f49.google.com with SMTP id e19so191082bku.22 for ; Thu, 02 May 2013 03:38:21 -0700 (PDT) X-Received: by 10.205.115.196 with SMTP id ff4mr1949567bkc.111.1367491101527; Thu, 02 May 2013 03:38:21 -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 v6sm1242041bko.3.2013.05.02.03.38.18 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 02 May 2013 03:38:20 -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: Thu, 2 May 2013 11:38:10 +0100 Message-Id: <1367491090-15823-1-git-send-email-dave.martin@linaro.org> X-Mailer: git-send-email 1.7.9.5 X-Gm-Message-State: ALoCoQmUY79fvqMKKWFHZVXk9h6f652y2J5PBvjeZGmBTJKwu1Cqj51oNbiMomRIZYooKHLACCYD X-Original-Sender: dave.martin@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.220.169 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 Acked-by: Nicolas Pitre --- KernelVersion: devel-stable (a126f7c) arch/arm/common/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/common/Makefile b/arch/arm/common/Makefile index 48c0ee5..53e68b1 100644 --- a/arch/arm/common/Makefile +++ b/arch/arm/common/Makefile @@ -12,3 +12,5 @@ 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