]> Git Repo - linux.git/commit
x86/xen: fix 'nopvspin' build error
authorRandy Dunlap <[email protected]>
Fri, 15 Jan 2021 19:11:23 +0000 (11:11 -0800)
committerJuergen Gross <[email protected]>
Mon, 18 Jan 2021 06:22:20 +0000 (07:22 +0100)
commitbd9dcef67ffcae2de49e319fba349df76472fd10
tree42868e45443ba20727556562d01805d001962aa2
parent3d7746bea92530e8695258a3cf3ddec7a135edd6
x86/xen: fix 'nopvspin' build error

Fix build error in x86/xen/ when PARAVIRT_SPINLOCKS is not enabled.

Fixes this build error:

../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;

Fixes: 3d7746bea925 ("x86/xen: Fix xen_hvm_smp_init() when vector callback not available")
Signed-off-by: Randy Dunlap <[email protected]>
Reviewed-by: Juergen Gross <[email protected]>
Cc: David Woodhouse <[email protected]>
Cc: Juergen Gross <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Juergen Gross <[email protected]>
arch/x86/xen/smp_hvm.c
This page took 0.044773 seconds and 4 git commands to generate.