diff options
author | 2021-12-06 23:27:52 +0100 | |
---|---|---|
committer | 2021-12-09 11:52:22 +0100 | |
commit | aa423ac4221abdfb8588751e7838ca5f42f56db3 (patch) | |
tree | 6fc06e3b345d867c56aecf195eb02fdf930ac3e8 /include/linux/msi.h | |
parent | PCI/MSI: Split out !IRQDOMAIN code (diff) | |
download | linux-aa423ac4221abdfb8588751e7838ca5f42f56db3.tar.gz linux-aa423ac4221abdfb8588751e7838ca5f42f56db3.tar.bz2 linux-aa423ac4221abdfb8588751e7838ca5f42f56db3.zip |
PCI/MSI: Split out irqdomain code
Move the irqdomain specific code into its own file.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Tested-by: Juergen Gross <jgross@suse.com>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Acked-by: Bjorn Helgaas <bhelgaas@google.com>
Link: https://lore.kernel.org/r/20211206210224.817754783@linutronix.de
Diffstat (limited to 'include/linux/msi.h')
-rw-r--r-- | include/linux/msi.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/include/linux/msi.h b/include/linux/msi.h index 673899fc24f6..7ff7cf23b78d 100644 --- a/include/linux/msi.h +++ b/include/linux/msi.h @@ -259,17 +259,6 @@ int arch_setup_msi_irq(struct pci_dev *dev, struct msi_desc *desc); void arch_teardown_msi_irq(unsigned int irq); int arch_setup_msi_irqs(struct pci_dev *dev, int nvec, int type); void arch_teardown_msi_irqs(struct pci_dev *dev); -#else -static inline int arch_setup_msi_irqs(struct pci_dev *dev, int nvec, int type) -{ - WARN_ON_ONCE(1); - return -ENODEV; -} - -static inline void arch_teardown_msi_irqs(struct pci_dev *dev) -{ - WARN_ON_ONCE(1); -} #endif /* |