Message ID | 20211215140209.451379-1-arnd@kernel.org (mailing list archive) |
---|---|
State | Accepted |
Commit | 91f7d2dbf952f54442fa81bb62f78ee023179bf9 |
Headers | show |
Series | x86: xen: Fix xen_initdom_restore_msi #ifdef | expand |
diff --git a/arch/x86/include/asm/xen/hypervisor.h b/arch/x86/include/asm/xen/hypervisor.h index 677f84d0039f..1bf2ad34188a 100644 --- a/arch/x86/include/asm/xen/hypervisor.h +++ b/arch/x86/include/asm/xen/hypervisor.h @@ -59,7 +59,7 @@ static inline bool __init xen_x2apic_para_available(void) struct pci_dev; -#ifdef CONFIG_XEN_DOM0 +#ifdef CONFIG_XEN_PV_DOM0 bool xen_initdom_restore_msi(struct pci_dev *dev); #else static inline bool xen_initdom_restore_msi(struct pci_dev *dev) { return true; }