Skip to content

Commit 2e4ceed

Browse files
committed
Merge tag 'for-linus-5.11-rc5-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip
Pull xen fix from Juergen Gross: "A fix for build failure showing up in some configurations" * tag 'for-linus-5.11-rc5-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip: x86/xen: fix 'nopvspin' build error
2 parents 7178a10 + bd9dcef commit 2e4ceed

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎arch/x86/xen/smp_hvm.c‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,9 @@ void __init xen_hvm_smp_init(void)
7474
smp_ops.cpu_die = xen_hvm_cpu_die;
7575

7676
if (!xen_have_vector_callback) {
77+
#ifdef CONFIG_PARAVIRT_SPINLOCKS
7778
nopvspin = true;
79+
#endif
7880
return;
7981
}
8082

0 commit comments

Comments
 (0)