diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2014-11-23 05:55:58 -0500 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2014-11-23 07:01:45 -0500 |
commit | 23ed8d57f3b87520e045ba0e3a2340638b31198a (patch) | |
tree | 222cb094e843a7b495aee32adc7b728231e81f79 /arch/s390/pci | |
parent | 83a18912b0e8d275001bca6fc9c0fe519d98f280 (diff) |
PCI/MSI: Rename mask/unmask_msi_irq et al
mask/unmask_msi_irq and __mask_msi/msix_irq are PCI/MSI specific
functions and should be named accordingly. This is a preparatory patch
to support MSI on non PCI devices.
Rename mask/unmask_msi_irq to pci_msi_mask/unmask_irq and document the
functions. Provide conversion helpers.
Rename __mask_msi/msix_irq to __pci_msi/msix_desc_mask so its clear
that they operated on msi_desc. Fixup the only user outside of
pci/msi.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Bjorn Helgaas <bhelgaas@google.com>
Cc: Jiang Liu <jiang.liu@linux.intel.com>
Cc: Grant Likely <grant.likely@linaro.org>
Cc: Marc Zyngier <marc.zyngier@arm.com>
Cc: Yijing Wang <wangyijing@huawei.com>
Cc: Heiko Carstens <heiko.carstens@de.ibm.com>
Diffstat (limited to 'arch/s390/pci')
-rw-r--r-- | arch/s390/pci/pci.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/s390/pci/pci.c b/arch/s390/pci/pci.c index ad1a9e2a1831..fb54bbdbb48d 100644 --- a/arch/s390/pci/pci.c +++ b/arch/s390/pci/pci.c | |||
@@ -448,9 +448,9 @@ void arch_teardown_msi_irqs(struct pci_dev *pdev) | |||
448 | /* Release MSI interrupts */ | 448 | /* Release MSI interrupts */ |
449 | list_for_each_entry(msi, &pdev->msi_list, list) { | 449 | list_for_each_entry(msi, &pdev->msi_list, list) { |
450 | if (msi->msi_attrib.is_msix) | 450 | if (msi->msi_attrib.is_msix) |
451 | __msix_mask_irq(msi, 1); | 451 | __pci_msix_desc_mask_irq(msi, 1); |
452 | else | 452 | else |
453 | __msi_mask_irq(msi, 1, 1); | 453 | __pci_msi_desc_mask_irq(msi, 1, 1); |
454 | irq_set_msi_desc(msi->irq, NULL); | 454 | irq_set_msi_desc(msi->irq, NULL); |
455 | irq_free_desc(msi->irq); | 455 | irq_free_desc(msi->irq); |
456 | msi->msg.address_lo = 0; | 456 | msi->msg.address_lo = 0; |