]> git.baikalelectronics.ru Git - kernel.git/commit
s390/pci: make zpci_set_irq()/zpci_clear_irq() static
authorNiklas Schnelle <schnelle@linux.ibm.com>
Tue, 8 Mar 2022 09:49:58 +0000 (10:49 +0100)
committerVasily Gorbik <gor@linux.ibm.com>
Thu, 10 Mar 2022 14:58:17 +0000 (15:58 +0100)
commitf5b602450c7e4d4e5e77277554c1a50c728cb08d
tree8eccf8f9987209c3a1e5a385334cdc05643f316b
parentf53f71b9f8d817f640ea3329f2b3fac28c26f682
s390/pci: make zpci_set_irq()/zpci_clear_irq() static

Commit 9edac52fac621 ("s390/pci: add zpci_set_irq()/zpci_clear_irq()")
made zpci_set_irq()/zpci_clear_irq() non-static in preparation for using
them in zpci_hot_reset_device(). The version of zpci_hot_reset_device()
that was finally merged however exploits the fact that IRQs and DMA is
implicitly disabled by clp_disable_fh() so the call to zpci_clear_irq()
was never added. There are no other calls outside pci_irq.c so lets make
both functions static.

Signed-off-by: Niklas Schnelle <schnelle@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
arch/s390/include/asm/pci.h
arch/s390/pci/pci_irq.c