xen/irq: Export 'xen_pirq_from_irq' function.
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Thu, 24 Feb 2011 19:20:12 +0000 (14:20 -0500)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Thu, 14 Apr 2011 15:17:55 +0000 (11:17 -0400)
commite6197acc726ab3baa60375a5891d58c2ee87e0f3
tree8403be98a0c6a3e2e845c30a4a028be2391a20e7
parentc7c2c3a28657cfdcef50c02b18ccca3761209e17
xen/irq: Export 'xen_pirq_from_irq' function.

We need this to find the real Xen PIRQ value for a device
that requests an MSI or MSI-X. In the past we used
'xen_gsi_from_irq' since that function would return
an Xen PIRQ or GSI depending on the provided IRQ. Now that
we have seperated that we need to use the correct
function.

[v2: Deal with rebase on stable/irq.cleanup]
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
drivers/xen/events.c
include/xen/events.h