summaryrefslogtreecommitdiffstats
path: root/arch/x86
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2017-02-08 18:17:44 +0100
committerBjorn Helgaas <bhelgaas@google.com>2017-02-10 21:30:33 +0100
commit699c4cec238731a4c466f73fe6e9e45ab6f49a41 (patch)
tree25b64fc63740c9c60201f80ec48c1ba08a3e5a4e /arch/x86
parentPCI/MSI: Remove unused pci_msi_create_default_irq_domain() (diff)
downloadlinux-699c4cec238731a4c466f73fe6e9e45ab6f49a41.tar.xz
linux-699c4cec238731a4c466f73fe6e9e45ab6f49a41.zip
PCI/MSI: Remove pci_msi_domain_{alloc,free}_irqs()
Just call the msi_* version directly instead of having trivial wrappers for one or two callsites. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/x86')
-rw-r--r--arch/x86/kernel/apic/msi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/apic/msi.c b/arch/x86/kernel/apic/msi.c
index 015bbf30e3e3..c61aec7e65f4 100644
--- a/arch/x86/kernel/apic/msi.c
+++ b/arch/x86/kernel/apic/msi.c
@@ -82,7 +82,7 @@ int native_setup_msi_irqs(struct pci_dev *dev, int nvec, int type)
if (domain == NULL)
return -ENOSYS;
- return pci_msi_domain_alloc_irqs(domain, dev, nvec, type);
+ return msi_domain_alloc_irqs(domain, &dev->dev, nvec);
}
void native_teardown_msi_irq(unsigned int irq)