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,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 6EBFAC433FF for ; Tue, 6 Aug 2019 21:41:00 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 368482189E for ; Tue, 6 Aug 2019 21:41:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1565127660; bh=KjztCobuz6R+897JVZYDB0wFkX/1VeAOtxNjOM3jEMs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=gmwwBMP61F7lx+27UE5SoyhhGOnVxz05AoOSlp1xfVv5QTQ+vpS5TzT3YTUDR3jYV LZ+fVmz7wMhfjw/+hwOnGYR3k3c6WhK01NrQVm4+lW3GwqnNjSjTxjrbMEFszxp+NY v8zMKAvwxzNPunZxpbOafs71ebCL1otROmz1g/Eo= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729007AbfHFVge (ORCPT ); Tue, 6 Aug 2019 17:36:34 -0400 Received: from mail.kernel.org ([198.145.29.99]:54354 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728994AbfHFVga (ORCPT ); Tue, 6 Aug 2019 17:36:30 -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 565F621882; Tue, 6 Aug 2019 21:36:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1565127389; bh=KjztCobuz6R+897JVZYDB0wFkX/1VeAOtxNjOM3jEMs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=nJWYpkelxjqTdZG3YIC2Lkv/Y5QrcSUl1PWeVC4EDSYtcL7CQfNrC0aEQsqtW8g9a wRiG4WVyOJaPl61uXJA447szcKdx1mxItUP53kvHE7a/vYADuWIYc2YhlK/lYq5dVj mPmn6GxTTUBq/+VwSf706MZZSC/8wp3tmolyvlbU= 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 4.14 03/25] xtensa: fix build for cores with coprocessors Date: Tue, 6 Aug 2019 17:36:00 -0400 Message-Id: <20190806213624.20194-3-sashal@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190806213624.20194-1-sashal@kernel.org> References: <20190806213624.20194-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 3a98503ad11a6..1ba6f37f90f0c 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