Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp10927154ybi; Thu, 25 Jul 2019 07:11:14 -0700 (PDT) X-Google-Smtp-Source: APXvYqy5kQZvzfWz82xiBWP+xj2NKbvpMr2MdKLOZ1O3+OQOL6Wxsa2ojRDhwR2I6ZLE4tKNmZNq X-Received: by 2002:a17:90a:9dca:: with SMTP id x10mr93911434pjv.100.1564063873896; Thu, 25 Jul 2019 07:11:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564063873; cv=none; d=google.com; s=arc-20160816; b=OCHwYhabSf1wnZ5PJBfNzB6Xf/YJi8QQdNrq8DJAYfqQ6+MBORbWgIHQmXEvkx10rz ESYknIIlLen8APlSjLcnzJ71utzo8AHU9T9qFYriMsCTaK5ZzqY6O2rINnPhVyOcUyrs rG8xqlfFx9JCJnj64y97OItiOr+iTYx+lv/JPMs15KL5NzDjjzSxxsWNQ1WmFgjKqOh8 ti9306yOqz5HonmosJEu9uJIqq05ekCFbYzrmXLtiJaFDb9LvC8uFwV8DKEVNh25wc/L FngQX7NvACyF2/NqtHso3dOI8bcYtYSBlO7+A3W9FDl3qFr6vppd43sQXfL+53220MPY XCxg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=J5s3N85M9ajD/urZFm5P9YAai+R4ucnPihB3UAQSabI=; b=BpkYwlc+4eVN4ZmnjVdYBzXEYWYLXXLwp4fgpJN9Zw62wAsFZgVQZGBONJqF9+Pb4x /u5nYYgZ6t7s9QUIKBcU6UFoRMw9gcwO9E8NaTjhiqIENBwUSwdZkXP+W2kU1KFbJqc4 IGJwrMyd1/+HZgABvtmWscXDkYzpLj1R3oIuEt+wbTgsyRRTQylCLiGvNW2u1LuY3l5V vE3CIBdOlm5wx8qxc1qtdIJLYsmqW0YyjnElIyCFIyu/5upKycvrcUhoojs6Di3poJVQ +tlIQbAW/S/p88e5Db9dM/Vq+ovNy/XsxIIgMeGoubB8ZcbL7LH9D5zvetQJdtTSG2S4 oguA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20150623.gappssmtp.com header.s=20150623 header.b=tr1coZsT; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 25si3411923pgl.193.2019.07.25.07.10.57; Thu, 25 Jul 2019 07:11:13 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@bgdev-pl.20150623.gappssmtp.com header.s=20150623 header.b=tr1coZsT; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729967AbfGYNUn (ORCPT + 99 others); Thu, 25 Jul 2019 09:20:43 -0400 Received: from mail-wr1-f66.google.com ([209.85.221.66]:33374 "EHLO mail-wr1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725808AbfGYNUn (ORCPT ); Thu, 25 Jul 2019 09:20:43 -0400 Received: by mail-wr1-f66.google.com with SMTP id n9so50865127wru.0 for ; Thu, 25 Jul 2019 06:20:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=J5s3N85M9ajD/urZFm5P9YAai+R4ucnPihB3UAQSabI=; b=tr1coZsTvMfvRar6herRh/Wc2zp5wCgiRIjYDHYlrYoW2EcVtkoWaSrYBBxU6UmWj+ TNqkCYXH4+gdbK+EXPYJpQzisO6k5q9QXm0XuFrL7rLmfs7gSnVx9gnvMHFmcSe5mdup iYBvtVasBieDcGz+jDGrmItNb34TcQh5OoOW9lIFMKORlPixWZCR1YmsCUbFS+LMiR+M 4+qhpOggSQurUfwusBWvK69/ut64/VS2SiFg0yKbCedE7SKxenCCLkJO2JgcAXCuYqco h+BsCgbKYph0buKQnFjztstk2Q15uHzJoxIcFv5UOXJBD1Q21UcZKIciFA2xSgsvMsJs gjwA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=J5s3N85M9ajD/urZFm5P9YAai+R4ucnPihB3UAQSabI=; b=FGPE0UAujM3TLDWSLGs1r0VuHG0Om4kB6LJYte0XWGOiA39RJ9NF3bi3oIZWLGcbHu sd8EO6Jcg7YJAg5O8D7slJsdnL3MLeC2sRTgRgzi68m88lSvbLUhuB5U4jGdsZW4HIRP sXIafK8VdgnduCzT3+KJth0EkMPbRvcXV4LowO2f+iUmUFfKjeFLhoJV7nUsBGEbj6aZ cfkblxImU7k28yfLjq8gBxvXQNdYaQm1JOtCijhX36c5ei1rXqf/fD98G+LVJSnBuUkZ JYCCEDMnempzA2Maig1MLeedIKRQvGu+rCU9CbPk1L5hUDv61BJqtBv+kjG6Dsfu8BbL nusg== X-Gm-Message-State: APjAAAVwb0th14DVh5MD4EjrBrLEfc3D4qWDvsVs4tC0HcF1jBCZFKsH WxSmq8Sh2SnBkD9/+1R1fmOLZUEF X-Received: by 2002:a5d:63c9:: with SMTP id c9mr59005945wrw.15.1564060385843; Thu, 25 Jul 2019 06:13:05 -0700 (PDT) Received: from localhost.localdomain ([2a01:cb1d:af:5b00:6d6c:8493:1ab5:dad7]) by smtp.gmail.com with ESMTPSA id z7sm47119735wrh.67.2019.07.25.06.13.04 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Thu, 25 Jul 2019 06:13:05 -0700 (PDT) From: Bartosz Golaszewski To: Sekhar Nori , Kevin Hilman , Arnd Bergmann , David Lechner Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Bartosz Golaszewski Subject: [PATCH v2 3/5] davinci: fix sleep.S build error on ARMv4 Date: Thu, 25 Jul 2019 15:12:55 +0200 Message-Id: <20190725131257.6142-4-brgl@bgdev.pl> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190725131257.6142-1-brgl@bgdev.pl> References: <20190725131257.6142-1-brgl@bgdev.pl> MIME-Version: 1.0 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 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 Signed-off-by: Bartosz Golaszewski --- 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..50c180acc680 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.21.0