aboutsummaryrefslogtreecommitdiff
path: root/arch/x86/hyperv/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/hyperv/Makefile')
-rw-r--r--arch/x86/hyperv/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/x86/hyperv/Makefile b/arch/x86/hyperv/Makefile
index b21ee65c4101..1c11f9420a82 100644
--- a/arch/x86/hyperv/Makefile
+++ b/arch/x86/hyperv/Makefile
@@ -1,2 +1,6 @@
obj-y := hv_init.o mmu.o nested.o
obj-$(CONFIG_X86_64) += hv_apic.o
+
+ifdef CONFIG_X86_64
+obj-$(CONFIG_PARAVIRT_SPINLOCKS) += hv_spinlock.o
+endif