PCI/MSI: Move mask and unmask helpers to msi.h
authorAhmed S. Darwish <darwi@linutronix.de>
Fri, 11 Nov 2022 13:54:43 +0000 (14:54 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 17 Nov 2022 14:15:20 +0000 (15:15 +0100)
commitc93fd5266cff2afa908659c817c6aff4d5ed6283
tree6a79238cb007e569d3bc52f4b27970bc557dc534
parentdb537dd3bf83169d78e5617b75158f64deabcb0b
PCI/MSI: Move mask and unmask helpers to msi.h

The upcoming support for per device MSI interrupt domains needs to share
some of the inline helpers with the MSI implementation.

Move them to the header file.

Signed-off-by: Ahmed S. Darwish <darwi@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Acked-by: Bjorn Helgaas <bhelgaas@google.com>
Link: https://lore.kernel.org/r/20221111122014.640052354@linutronix.de
drivers/pci/msi/msi.c
drivers/pci/msi/msi.h