diff --git a/include/asm-generic/mshyperv.h b/include/asm-generic/mshyperv.h index cd9ab26bad2b71..19e567081ac9a7 100644 --- a/include/asm-generic/mshyperv.h +++ b/include/asm-generic/mshyperv.h @@ -343,6 +343,7 @@ unsigned long hv_nested_hostpfn(unsigned long pfn); u64 hv_nested_hostpa(void *va); void __init hyperv_init_nested_on_xen(void); int hyperv_setup_xen_vmbus_irq(void (*isr)(void)); +void hyperv_remove_xen_vmbus_irq(void); unsigned int hyperv_xen_vpci_vector(void); struct irq_domain *hyperv_xen_vpci_root_domain(void); #else @@ -351,6 +352,7 @@ static inline unsigned long hv_nested_hostpfn(unsigned long pfn) { return pfn; } static inline u64 hv_nested_hostpa(void *va) { return 0; } static inline void hyperv_init_nested_on_xen(void) {} static inline int hyperv_setup_xen_vmbus_irq(void (*isr)(void)) { return -ENODEV; } +static inline void hyperv_remove_xen_vmbus_irq(void) {} static inline unsigned int hyperv_xen_vpci_vector(void) { return 0; } static inline struct irq_domain *hyperv_xen_vpci_root_domain(void) { return NULL; } #endif