Received: by 2002:a25:b794:0:0:0:0:0 with SMTP id n20csp4608357ybh; Tue, 6 Aug 2019 14:47:47 -0700 (PDT) X-Google-Smtp-Source: APXvYqysDJVGsqq1KyKIUZZOFpbVaWlnEBGxQ4B8kLxa2Xl/d+k3Z+b86HjxarVLarMCio2zO+Vt X-Received: by 2002:a63:db47:: with SMTP id x7mr4833479pgi.375.1565128067113; Tue, 06 Aug 2019 14:47:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565128067; cv=none; d=google.com; s=arc-20160816; b=qmxHgeYnwZxBiTCAqj4xGHdvIkfdrGWPb3lHJBGRnvyUIRzKqaGNf5ivy3zLilFmGO II/yne0/jCoAk9kHj5t5IXozCbiPEBItVeme01ssiTgDIvnOZf3pbfvczi6dcdBQmjl7 8LwvGnyCtxU+veOi8oEKlRmRnmJb1BvRFi886L1sZnVSunYpbuepWW/bnJ/ikaEv6vn9 mdsd2PbmhhnhgJe0kJBeurO8nbxQ3er/O4+Vf0lWd/hJpXqqhf9c0p9xcbj9wEV/L9Vm KoQk5HwhvUMXv8dA2rPO4ccqMX0h52SLkdJV8Af3VJKaesAfl+NkFs1XH/JHNRkJZEyR OAdA== 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=4RHX78Bp0Rcj5nTJC2CKaLw3uexi7OR1YF1e2gQbo1M=; b=STa9WS2akqjmr8YHZgIB9W0wu7cCZ8Me39zIpe3XePJy1rVd/jWuWpvx1EUoXT5WdY r1YEQ2iQUusOjGXoQiH/g7/NKyCTrlCCrXJ0g8vzVq/Oxg2+FnalTCRMDFzf0G4+y17r EQAu/iXtE7h9AE+AqAcEdSMDPVAx8oerV4ab5tozlky9DlWIV92KEwnttd4OjFEG2oe2 x2ejBohwp8gMBRburp5BfRn5CYCl6ysiDjWLKMWv34mZpYK4nC2E935IoUhybD+b3Ztk CtLO4ZSYBiGGD3ZpHyu+Iu83VsE1QHP8tw3hXUfhn5K+CVur+XTL0vFN8egu8oWfTrf0 FrLw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=y6eacG1r; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x22si44678806pln.150.2019.08.06.14.47.32; Tue, 06 Aug 2019 14:47:47 -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=@kernel.org header.s=default header.b=y6eacG1r; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727554AbfHFVqV (ORCPT + 99 others); Tue, 6 Aug 2019 17:46:21 -0400 Received: from mail.kernel.org ([198.145.29.99]:51276 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726942AbfHFVd3 (ORCPT ); Tue, 6 Aug 2019 17:33:29 -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 2958621743; Tue, 6 Aug 2019 21:33:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1565127208; bh=XY2QX3qJfoMkOIP+rWhBjSsKuOC6qblAAdm2SefGMC8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=y6eacG1rHP0NnlHgEWTeoanz4fUEYY/rBul+8XY56tUe2u4vO+p91fJFQI4zN99bY 9lyfF+OX+M5wD3lSqsYM0DENwvGF+hJFDdc9wBHcq7G2Z6OYu+AAhWtSHusxlCwdN2 6OmcJX9DRtM9+HibhHJAAvibpHWNOgA/DokslqTM= From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Max Filippov , Sasha Levin , linux-xtensa@linux-xtensa.org Subject: [PATCH AUTOSEL 5.2 07/59] xtensa: fix build for cores with coprocessors Date: Tue, 6 Aug 2019 17:32:27 -0400 Message-Id: <20190806213319.19203-7-sashal@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190806213319.19203-1-sashal@kernel.org> References: <20190806213319.19203-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: Max Filippov [ Upstream commit e3cacb73e626d885b8cf24103fed0ae26518e3c4 ] Assembly entry/return abstraction change didn't add asmmacro.h include statement to coprocessor.S, resulting in references to undefined macros abi_entry and abi_ret on cores that define XTENSA_HAVE_COPROCESSORS. Fix that by including asm/asmmacro.h from the coprocessor.S. Signed-off-by: Max Filippov Signed-off-by: Sasha Levin --- arch/xtensa/kernel/coprocessor.S | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/xtensa/kernel/coprocessor.S b/arch/xtensa/kernel/coprocessor.S index 92bf24a9da929..e723129c36688 100644 --- a/arch/xtensa/kernel/coprocessor.S +++ b/arch/xtensa/kernel/coprocessor.S @@ -14,6 +14,7 @@ #include #include +#include #include #include #include -- 2.20.1