From patchwork Wed Jun 19 13:11:33 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 11004137 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 411A876 for ; Wed, 19 Jun 2019 13:12:06 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3013528901 for ; Wed, 19 Jun 2019 13:12:06 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 23D682890F; Wed, 19 Jun 2019 13:12:06 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 0C8202888D for ; Wed, 19 Jun 2019 13:12:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=W4dKBdD3ybvBdJ0ZYX8bq04o0HAvRPKOwYpkS7LUaDk=; b=pyL6lrOrK8QotA 9HC/baXc+J8XfOM0oI5AEphVjW8FLBtObObOV8Xtr5BOrPgaw2Aywr9eqE/5uNOp2eDLk0vwj7qBV QC4oZv37SVbgx/IPwTmPa3obvadQ4g5LXH4v5UcgCd7Cd71RX7nx1SqtYI8vqxVBBbFAeKq/HFysv xE0pMDMAhHgrAVqydH/7YO1HvGuxfwgkXWgpxNA1EYzQh/0kcYwqY7kWXZ4ZgF2Q5uQYpuWlLbe28 F8RU1uTPv8lucvlSRqYjTNyR8mMVmoB+WXBfFpmc4Kgi/GA/njXf1w8hX9jS4zKI0nYMQrwtpadNn uYoQZRnnZ6xqo3mmdzqA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1hdaNe-0005Fy-4t; Wed, 19 Jun 2019 13:12:02 +0000 Received: from mout.kundenserver.de ([212.227.126.131]) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1hdaNb-0005FK-ST for linux-arm-kernel@lists.infradead.org; Wed, 19 Jun 2019 13:12:01 +0000 Received: from threadripper.lan ([149.172.19.189]) by mrelayeu.kundenserver.de (mreue009 [212.227.15.129]) with ESMTPA (Nemesis) id 1MC2sH-1hlX0U47Th-00CQ0o; Wed, 19 Jun 2019 15:11:52 +0200 From: Arnd Bergmann To: Sekhar Nori Subject: [PATCH] [RESEND] ARM: davinci: fix sleep.S build error on ARMv4 Date: Wed, 19 Jun 2019 15:11:33 +0200 Message-Id: <20190619131148.1743339-1-arnd@arndb.de> X-Mailer: git-send-email 2.20.0 MIME-Version: 1.0 X-Provags-ID: V03:K1:RCxxsPc1iW+wdf2qvwFXRCQCQwA9a8RhwBI7PbIOQcAXl1qMmye BxN3ySI1yqznfwmMSWbTufdMcHAb10VTw4Dl9OyAjxE3Zcn7Oy6gKbVYJWDCFpSXYGg82gp TymMH0ohfLvPUAE/tjuzg4oBaJsLS1Ui0hPPhGJcZJHkdNrb3sClUV+HzrDadVa7xzdWB5x wEQ9Anwjqu1SfsPxnoLHw== X-UI-Out-Filterresults: notjunk:1;V03:K0:WdiiRt6A5HY=:aN8ts0D3DpexapG3IApAie L57JWv+IozpGyPgU0RYrZEB9uoTO90JGUfs8rXhHZ5nRWDzEfR6yDsEnOKVzj29w5+7YFSDTS z5zu/I7mMCmjtJ9oRZh+3BEzcUb2zn+xd+gQT9QXjGnTJx3Ov2w/YiIjcIyJ7guaNwyQ0RGxX 4HKkmeWJx6A9cYYlsRjSb4eFnfuXdfUTd48IIygZdFUv2ptUEt75SHqWZfvtlsFw7BRFpwNUz Cbr6SJ87uD4ywWfGUMg83MhLtTX+xIl/3xLDZFfTSU8KgfulD1AW5Q2lKZW0x8TCtS81EH0cJ PrYBcgB03+ZXexrJW180HBj0oOILO/6+eInRVgdoCNQFG6V8UB0w8P2y0DeQGEwV7kPixgE8o 3CLtgybi6BjnDD/87mH4qo/ZNSt12swFj9ir9R+kM/AYxHo5aNecnZG+8l4opvrxh6dKs50Jh J/mm2032TO8Hn/axAAsElbeUz9kkoUVynvPE9wGwGpA5I11vHFcuJ5JmqH4xtSSlScgn7um1F kr+xMZB0O3gTmTmv5+JaFk3BnhkisfG6nSsxOd9nub6OrY4SHcFUXuv+ZaSX1Bxnq70G2kGNS X5PN1MYcyI4SqXKHFJcq62oqvXwzU6YM+LzTLRFHUX7QMZNq3BKpIed2wyeG8tixAfwMD6KvN AR5O5Etn+4Dh4YbYQ8CwboNa4cIDu5FqnghCw8R3GvXNNUTwcFTbAAfGh1VQVfy6MyaqAlQky pphwP/Sgd3BgB+vwesZMfYkG+0XP3IoRIhrv4A== X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190619_061200_215853_2FF7C1C7 X-CRM114-Status: GOOD ( 10.35 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Bartosz Golaszewski , linux-arm-kernel@lists.infradead.org, Arnd Bergmann , linux-kernel@vger.kernel.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP When building a multiplatform kernel that includes armv4 support, the default target CPU does not support the blx instruction, which leads to a build failure: arch/arm/mach-davinci/sleep.S: Assembler messages: arch/arm/mach-davinci/sleep.S:56: Error: selected processor does not support `blx ip' in ARM mode Add a .arch statement in the sources to make this file build. Signed-off-by: Arnd Bergmann Acked-by: Sekhar Nori --- arch/arm/mach-davinci/sleep.S | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-davinci/sleep.S b/arch/arm/mach-davinci/sleep.S index 05d03f09ff54..71262dcdbca3 100644 --- a/arch/arm/mach-davinci/sleep.S +++ b/arch/arm/mach-davinci/sleep.S @@ -24,6 +24,7 @@ #define DEEPSLEEP_SLEEPENABLE_BIT BIT(31) .text + .arch armv5te /* * Move DaVinci into deep sleep state *