[patch V2 27/36] genirq/msi: Provide interface to retrieve Linux interrupt number
Greg Kroah-Hartman
gregkh at linuxfoundation.org
Mon Dec 6 23:51:53 PST 2021
On Mon, Dec 06, 2021 at 11:39:39PM +0100, Thomas Gleixner wrote:
> 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 at linutronix.de>
Reviewed-by: Greg Kroah-Hartman <gregkh at linuxfoundation.org>
More information about the linux-arm-kernel
mailing list