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=-9.8 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham 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 4F719C32753 for ; Wed, 14 Aug 2019 17:06:29 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 257E1216F4 for ; Wed, 14 Aug 2019 17:06:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1565802389; bh=6jYS6dt1ZwH3WjgYzpdNPazoM8n/eGGDiLfyh4I5I78=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=hh4xnTjsesw0ib1EsU7VzMAkyucNkbJW9PVXxx71lf7MgcOKuBf6yl85xAYT663gc 09a/pX5Qh5KpJr8qK7TDh2O0MUk+vRq16l3jRynufWFoQ8Px7702Rj/4APMw/UFMJC vuSxGIcAeHXKOaVGoZaJThieYHslNuP9hR826AGU= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729655AbfHNRG1 (ORCPT ); Wed, 14 Aug 2019 13:06:27 -0400 Received: from mail.kernel.org ([198.145.29.99]:55570 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729651AbfHNRG0 (ORCPT ); Wed, 14 Aug 2019 13:06:26 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 96656216F4; Wed, 14 Aug 2019 17:06:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1565802386; bh=6jYS6dt1ZwH3WjgYzpdNPazoM8n/eGGDiLfyh4I5I78=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=tkOcMfbEgUZvM2of2Zw3o2STfCwf9fbqYuMuOCQ5n8mHr20G6pPhCLkDMZXFmDfL3 hcvQxk8F9Ea17+Cd0b/LdeFTDXa0ldR/NI3qbourUWixlcYiSwTj+RJXWb0rerG56w IDbLo+yEyHBT6I/OE5NROI2WYXtOhJQyvcPEk2/U= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Sekhar Nori , Arnd Bergmann , Olof Johansson , Sasha Levin Subject: [PATCH 5.2 105/144] ARM: davinci: fix sleep.S build error on ARMv4 Date: Wed, 14 Aug 2019 19:01:01 +0200 Message-Id: <20190814165804.293176154@linuxfoundation.org> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20190814165759.466811854@linuxfoundation.org> References: <20190814165759.466811854@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: stable-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org [ 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 05d03f09ff54b..71262dcdbca32 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 * -- 2.20.1