mirror of
https://github.com/torvalds/linux.git
synced 2026-12-01 11:03:37 +00:00
Implement the required wait and kick callbacks to support PV spinlocks in Hyper-V guests. [ tglx: Document the requirement for disabling interrupts in the wait() callback. Remove goto and unnecessary includes. Add prototype for hv_vcpu_is_preempted(). Adapted to pending paravirt changes. ] Signed-off-by: Yi Sun <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Reviewed-by: Juergen Gross <[email protected]> Cc: "K. Y. Srinivasan" <[email protected]> Cc: Haiyang Zhang <[email protected]> Cc: Stephen Hemminger <[email protected]> Cc: Michael Kelley (EOSG) <[email protected]> Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Link: https://lkml.kernel.org/r/[email protected]
7 lines
147 B
Makefile
7 lines
147 B
Makefile
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
|