From: Leon Romanovsky <leon@kernel.org>
To: David Woodhouse <dwmw@amazon.co.uk>, Juergen Gross <jgross@suse.com>
Cc: Leon Romanovsky <leonro@nvidia.com>,
Stefano Stabellini <sstabellini@kernel.org>,
Boris Ostrovsky <boris.ostrovsky@oracle.com>,
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 [thread overview]
Message-ID: <20210120144303.501486-1-leon@kernel.org> (raw)
From: Leon Romanovsky <leonro@nvidia.com>
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 this function)
nopvspin = 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 <leonro@nvidia.com>
---
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 <linux/thread_info.h>
#include <asm/smp.h>
+#include <asm/qspinlock.h>
#include <xen/events.h>
--
2.29.2
next reply other threads:[~2021-01-20 14:43 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-20 14:43 Leon Romanovsky [this message]
2021-01-20 14:47 ` [PATCH] x86/xen: Fix compilation error due to missing nopvspin declaration Jürgen Groß
2021-01-20 14:56 ` Leon Romanovsky
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210120144303.501486-1-leon@kernel.org \
--to=leon@kernel.org \
--cc=boris.ostrovsky@oracle.com \
--cc=dwmw@amazon.co.uk \
--cc=jgross@suse.com \
--cc=leonro@nvidia.com \
--cc=sstabellini@kernel.org \
--cc=xen-devel@lists.xenproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.