From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-10.1 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1E612C32750 for ; Fri, 2 Aug 2019 13:32:28 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id E83A920B7C for ; Fri, 2 Aug 2019 13:32:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1564752748; bh=2NQfbXr/2flf+VnmDxlQVHz2x3lgkRrjGYvopR5En44=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=mFGvcjQ1oYsYzhLK4EDPL6kx7ww6UtavKKez4l0sIpPY134wOHaMPPq04c34SOdQa puaFdN3Jzhh+aRr4QswT4IW2g8dBnbAq1jY7xRcGvGvCaeQ13KkhPKwGkWE/cNYoFw dJri7Hak0lAuVx3SfwWw+Q5EVP5mr7GJmzNJbgC8= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2405082AbfHBNcW (ORCPT ); Fri, 2 Aug 2019 09:32:22 -0400 Received: from mail.kernel.org ([198.145.29.99]:34676 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389897AbfHBNYC (ORCPT ); Fri, 2 Aug 2019 09:24:02 -0400 Received: from sasha-vm.mshome.net (c-73-47-72-35.hsd1.nh.comcast.net [73.47.72.35]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 6508E2182B; Fri, 2 Aug 2019 13:24:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1564752241; bh=2NQfbXr/2flf+VnmDxlQVHz2x3lgkRrjGYvopR5En44=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=jI8axtLi83/CIXPe3FGhlsHlgJ+frewfL4EsNLoAMtTsQ0Cm19+1GDnQa4eXQ9+s8 GW/1tvEQQn8EYpd7Ka/wY4w/RGmSlTKSLgqawwQZr3AwAX52i85xMvmT4pCt+RDL1i 4vJJDp4zg0dP2qpWdcUI5qciT1B9zni1xuze/SPE= From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Arnd Bergmann , Sekhar Nori , Olof Johansson , Sasha Levin Subject: [PATCH AUTOSEL 4.19 32/42] ARM: davinci: fix sleep.S build error on ARMv4 Date: Fri, 2 Aug 2019 09:22:52 -0400 Message-Id: <20190802132302.13537-32-sashal@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190802132302.13537-1-sashal@kernel.org> References: <20190802132302.13537-1-sashal@kernel.org> MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Arnd Bergmann [ Upstream commit d64b212ea960db4276a1d8372bd98cb861dfcbb0 ] 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. Link: https://lore.kernel.org/r/20190722145211.1154785-1-arnd@arndb.de Acked-by: Sekhar Nori Signed-off-by: Arnd Bergmann Signed-off-by: Olof Johansson Signed-off-by: Sasha Levin --- 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 cd350dee4df37..efcd400b2abb3 100644 --- a/arch/arm/mach-davinci/sleep.S +++ b/arch/arm/mach-davinci/sleep.S @@ -37,6 +37,7 @@ #define DEEPSLEEP_SLEEPENABLE_BIT BIT(31) .text + .arch armv5te /* * Move DaVinci into deep sleep state * -- 2.20.1