From patchwork Fri Oct 31 15:02:46 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 5205161 X-Patchwork-Delegate: horms@verge.net.au Return-Path: X-Original-To: patchwork-linux-sh@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id A7E06C11AC for ; Fri, 31 Oct 2014 15:03:07 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id EAFEA2015A for ; Fri, 31 Oct 2014 15:03:06 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 8D4B420142 for ; Fri, 31 Oct 2014 15:03:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932894AbaJaPDF (ORCPT ); Fri, 31 Oct 2014 11:03:05 -0400 Received: from mailout1.w1.samsung.com ([210.118.77.11]:64581 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932508AbaJaPDD (ORCPT ); Fri, 31 Oct 2014 11:03:03 -0400 Received: from eucpsbgm2.samsung.com (unknown [203.254.199.245]) by mailout1.w1.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0NEB00BFLDXQVR90@mailout1.w1.samsung.com>; Fri, 31 Oct 2014 15:05:50 +0000 (GMT) X-AuditID: cbfec7f5-b7f956d000005ed7-bc-5453a4a065e5 Received: from eusync2.samsung.com ( [203.254.199.212]) by eucpsbgm2.samsung.com (EUCPMTA) with SMTP id AF.A8.24279.0A4A3545; Fri, 31 Oct 2014 15:02:56 +0000 (GMT) Received: from AMDC1943.digital.local ([106.116.151.171]) by eusync2.samsung.com (Oracle Communications Messaging Server 7u4-23.01(7.0.4.23.0) 64bit (built Aug 10 2011)) with ESMTPA id <0NEB004JUDST22A0@eusync2.samsung.com>; Fri, 31 Oct 2014 15:02:56 +0000 (GMT) From: Krzysztof Kozlowski To: Simon Horman , Magnus Damm , Russell King , linux-sh@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Ulrich Hecht , Krzysztof Kozlowski Subject: [RFT] ARM: shmobile: rcar-gen2: Fix build breakage Date: Fri, 31 Oct 2014 16:02:46 +0100 Message-id: <1414767766-19967-1-git-send-email-k.kozlowski@samsung.com> X-Mailer: git-send-email 1.9.1 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrCJMWRmVeSWpSXmKPExsVy+t/xK7oLlgSHGHRdEbRo3vqV0eL1C0OL TY+vsVpc3jWHzWLOnynMFrcv81o8WP2WzaJ3ipkDh0dLcw+bx85Zd9k9Ni+p9+jbsorRY87P bywenzfJBbBFcdmkpOZklqUW6dslcGXM//mdpeA8Z8Xk1nVMDYx9HF2MnBwSAiYSTd+vs0PY YhIX7q1n62Lk4hASWMooMX3zTlYIp49J4vq/RywgVWwCxhKbly8BqxIRuMwoce39S6YuRg4O ZoEkiZ8/dUFqhAWsJZ7/nAk2lUVAVWJy+3xWEJtXwF1i5oNzUNvkJE4em8w6gZF7ASPDKkbR 1NLkguKk9FwjveLE3OLSvHS95PzcTYyQkPm6g3HpMatDjAIcjEo8vBpfgkKEWBPLiitzDzFK cDArifD+6AgOEeJNSaysSi3Kjy8qzUktPsTIxMEp1cAYbpzRe3HditXpJ886lXhuMmLheX7Z teLFgQ4R7ebmrGd3k2e1L7sRIXpLd6Pvq/NTly2+va2e29iI4VqQnNsynwdXpwhtW3pUKPjG xg6T1ct3R/s5v3/02tvUseQ383uXCdMKHV5ammj4FJv/V5RltksUCEhwylIwbZ9pfXySnWxe 52neW11KLMUZiYZazEXFiQAbBVhW9wEAAA== Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Spam-Status: No, score=-7.5 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Fix build breakage when building allmodconfig or allyesconfig introduced by adding ISB instruction to rcar_gen2_timer_init() function (9ce3fa6816c2 "ARM: shmobile: rcar-gen2: Add CA7 arch_timer initialization for r8a7794"): CC arch/arm/mach-shmobile/setup-rcar-gen2.o /tmp/cc770qt0.s: Assembler messages: /tmp/cc770qt0.s:378: Error: selected processor does not support ARM mode `isb' /tmp/cc770qt0.s:381: Error: selected processor does not support ARM mode `isb' /tmp/cc770qt0.s:383: Error: selected processor does not support ARM mode `isb' make[1]: *** [arch/arm/mach-shmobile/setup-rcar-gen2.o] Error 1 Signed-off-by: Krzysztof Kozlowski --- arch/arm/mach-shmobile/setup-rcar-gen2.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-shmobile/setup-rcar-gen2.c b/arch/arm/mach-shmobile/setup-rcar-gen2.c index 3dd6edd9bd1d..47f85643785f 100644 --- a/arch/arm/mach-shmobile/setup-rcar-gen2.c +++ b/arch/arm/mach-shmobile/setup-rcar-gen2.c @@ -68,6 +68,7 @@ void __init rcar_gen2_timer_init(void) * secure code. */ asm volatile( + " .arch armv7-a\n" " cps 0x16\n" " mrc p15, 0, r1, c1, c1, 0\n" " orr r0, r1, #1\n"