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=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 968C0C32753 for ; Wed, 14 Aug 2019 17:10:54 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 6966721721 for ; Wed, 14 Aug 2019 17:10:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1565802654; bh=xgE+15QcMdwoAnFrAPREzcsQF9PufS+fugmS0e/+Dtw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=YWm3YgLseAdEuC7G5le7QbjzlVuuqBNud5gAordSCzK5piMTQ36vk614e7DESpiGd D8q5663UZtlAWfWqcuw8wCwZLHxttvksXnYb1OvTki/KAlDw6+ZfPvheGWIFc/dWdO ys2+2tU0m2cMAG0SY80j6PJeGhdxwUDh232+iZj8= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730523AbfHNRKx (ORCPT ); Wed, 14 Aug 2019 13:10:53 -0400 Received: from mail.kernel.org ([198.145.29.99]:33732 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730508AbfHNRKo (ORCPT ); Wed, 14 Aug 2019 13:10:44 -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 7CC4A2084D; Wed, 14 Aug 2019 17:10:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1565802644; bh=xgE+15QcMdwoAnFrAPREzcsQF9PufS+fugmS0e/+Dtw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=QnFmRjfQa4XJOkiKt30cS7rqLLLABDael162iBlPjgKxn6D+yJRDqMjedYe/6equV 6bYEDgSLIYHKL8RJqp/wZGeumduBlIjEy9wG7R4C/Nrvks8HizlFAYAXo+Rsp7F+qW 38uSs9M3dSi0xf1WQCu8t3dUZAN48shfAMf6qmhA= 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 4.19 61/91] ARM: davinci: fix sleep.S build error on ARMv4 Date: Wed, 14 Aug 2019 19:01:24 +0200 Message-Id: <20190814165752.208167332@linuxfoundation.org> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20190814165748.991235624@linuxfoundation.org> References: <20190814165748.991235624@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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 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