forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-09-20 cf4ce59b3b70238352c7f1729f0f7223214828ad
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