diff options
author | 2021-12-10 23:19:23 +0100 | |
---|---|---|
committer | 2021-12-16 22:16:40 +0100 | |
commit | cf15f43acaad31dabb2646cef170a506a1d663eb (patch) | |
tree | edf03c996e5ceb82d3523f4494ae581fb7d8107e /scripts/mod/file2alias.c | |
parent | powerpc/pseries/msi: Let core code check for contiguous entries (diff) | |
download | wireguard-linux-cf15f43acaad31dabb2646cef170a506a1d663eb.tar.xz wireguard-linux-cf15f43acaad31dabb2646cef170a506a1d663eb.zip |
genirq/msi: Provide interface to retrieve Linux interrupt number
This allows drivers to retrieve the Linux interrupt number instead of
fiddling with MSI descriptors.
msi_get_virq() returns the Linux interrupt number or 0 in case that there
is no entry for the given MSI index.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Tested-by: Michael Kelley <mikelley@microsoft.com>
Tested-by: Nishanth Menon <nm@ti.com>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Link: https://lore.kernel.org/r/20211210221814.780824745@linutronix.de
Diffstat (limited to 'scripts/mod/file2alias.c')
0 files changed, 0 insertions, 0 deletions