From nobody Tue Apr 30 09:28:24 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass(p=none dis=none) header.from=kernel.org ARC-Seal: i=1; a=rsa-sha256; t=1611153842; cv=none; d=zohomail.com; s=zohoarc; b=VCper3r2QvzERD3MMFq+qNCm/MNsftzEt97rPRaIbTFfWf0h0IWwQ00y26bCCtBhDrLt/QHpzBec0RkAU9s4A6L5C4AhSuTlrEJ2z9y6MFVF0pKUpdlFNNTpTEiw0PO22gq/uxQ6DHjx3Gihd7cIxxUd7F0vO12Yhh7z7TJANVg= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1611153842; h=Content-Transfer-Encoding:Cc:Date:From:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:To; bh=qvAntvLboCMb6R/ZFY8YOdepijHb7XLsyUAHpEhgV5c=; b=cX0u4X9akswGxlU9JZMivnrV1cTVbVuaNVCFk7XwfNTChsnsXg+M9GpC++Tvhe7wcUhmK4rcTIwi1gdc1XJ8uXX11/mqE682SO+oK15Zf0AXax9iGmAGD9cPET6ECdtfFHzAOosNUkLb3ocY0aXtNSBDsTbvkBtn1eyYeqQnPoA= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1611153842012719.4210592156146; Wed, 20 Jan 2021 06:44:02 -0800 (PST) Received: from list by lists.xenproject.org with outflank-mailman.71460.127978 (Exim 4.92) (envelope-from ) id 1l2Ehz-0007ho-7n; Wed, 20 Jan 2021 14:43:43 +0000 Received: by outflank-mailman (output) from mailman id 71460.127978; Wed, 20 Jan 2021 14:43:43 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1l2Ehz-0007hh-3o; Wed, 20 Jan 2021 14:43:43 +0000 Received: by outflank-mailman (input) for mailman id 71460; Wed, 20 Jan 2021 14:43:42 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1l2Ehx-0007hc-Sv for xen-devel@lists.xenproject.org; Wed, 20 Jan 2021 14:43:41 +0000 Received: from mail.kernel.org (unknown [198.145.29.99]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id 3efdb27c-94dc-4881-b29d-c78fae243f96; Wed, 20 Jan 2021 14:43:41 +0000 (UTC) Received: by mail.kernel.org (Postfix) with ESMTPSA id AF1CC2336E; Wed, 20 Jan 2021 14:43:39 +0000 (UTC) X-Outflank-Mailman: Message body and most headers restored to incoming version X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: 3efdb27c-94dc-4881-b29d-c78fae243f96 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1611153820; bh=EzWFXWUaQ8L7XQdnFNv4eBv0bCWXILnVCWFQUG+WDJs=; h=From:To:Cc:Subject:Date:From; b=t5SvnYtIkt89u3tf1pgFFPZSgPYHdxGJm+7fw4ouuNMZ4f01o6cyd/XF0UVcc6PB8 WhBBHp0tFjx7tGu3mVWzdJdcjQL2itOgMPccdfoBeykdNQn4ZaJmHWQ6Jkat0gJ17V JQQLGferEq5YMkQUKTKn6gEc1BhfVE0tBsyqkrkoqxzuDk9AP/53ZvnMoyu9xjKcbh YqjdY7DIeCvSOszlFTSP1bK21tEAgfDBvcNesCxe6IedEmn2hQlXkuoBWb8KZTS0pb jE0p4aOUYxmWIwvlunGIxHRTb9m8e6pz7ZOJlbCTApGzCvL+XyRmYfFITRdPD1Jham 4w8rareBS+ktA== From: Leon Romanovsky To: David Woodhouse , Juergen Gross Cc: Leon Romanovsky , Stefano Stabellini , Boris Ostrovsky , xen-devel@lists.xenproject.org Subject: [PATCH] x86/xen: Fix compilation error due to missing nopvspin declaration Date: Wed, 20 Jan 2021 16:43:03 +0200 Message-Id: <20210120144303.501486-1-leon@kernel.org> X-Mailer: git-send-email 2.29.2 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @kernel.org) Content-Type: text/plain; charset="utf-8" From: Leon Romanovsky arch/x86/xen/smp_hvm.c: In function 'xen_hvm_smp_init': arch/x86/xen/smp_hvm.c:77:3: error: 'nopvspin' undeclared (first use in th= is function) nopvspin =3D true; ^~~~~~~~ arch/x86/xen/smp_hvm.c:77:3: note: each undeclared identifier is reported = only once for each function it appears in make[4]: *** [scripts/Makefile.build:279: arch/x86/xen/smp_hvm.o] Error 1 make[3]: *** [scripts/Makefile.build:496: arch/x86/xen] Error 2 make[3]: *** Waiting for unfinished jobs.... make[2]: *** [Makefile:1805: arch/x86] Error 2 make[2]: *** Waiting for unfinished jobs.... Fixes: 3d7746bea925 ("x86/xen: Fix xen_hvm_smp_init() when vector callback = not available") Signed-off-by: Leon Romanovsky --- arch/x86/xen/smp_hvm.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/x86/xen/smp_hvm.c b/arch/x86/xen/smp_hvm.c index 056430a1080b..1656713db71c 100644 --- a/arch/x86/xen/smp_hvm.c +++ b/arch/x86/xen/smp_hvm.c @@ -1,6 +1,7 @@ // SPDX-License-Identifier: GPL-2.0 #include #include +#include #include -- 2.29.2