hc
2024-10-12 a5969cabbb4660eab42b6ef0412cbbd1200cf14d
kernel/arch/x86/include/asm/irqdomain.h
....@@ -51,9 +51,13 @@
5151 #endif /* CONFIG_X86_IO_APIC */
5252
5353 #ifdef CONFIG_PCI_MSI
54
-extern void arch_init_msi_domain(struct irq_domain *domain);
54
+void x86_create_pci_msi_domain(void);
55
+struct irq_domain *native_create_pci_msi_domain(void);
56
+extern struct irq_domain *x86_pci_msi_default_domain;
5557 #else
56
-static inline void arch_init_msi_domain(struct irq_domain *domain) { }
58
+static inline void x86_create_pci_msi_domain(void) { }
59
+#define native_create_pci_msi_domain NULL
60
+#define x86_pci_msi_default_domain NULL
5761 #endif
5862
5963 #endif