xen: support pirq != irq
commit7a043f119c0e4b460306f868d9638ac55c6afa6f
authorStefano Stabellini <stefano.stabellini@eu.citrix.com>
Thu, 1 Jul 2010 16:08:14 +0000 (1 17:08 +0100)
committerStefano Stabellini <stefano.stabellini@eu.citrix.com>
Fri, 22 Oct 2010 20:25:40 +0000 (22 21:25 +0100)
tree6642df09a1bf509ee553bef0ab9e6032ba832271
parent67ba37293e938208795d6a3562201bdb0cf43393
xen: support pirq != irq

PHYSDEVOP_map_pirq might return a pirq different from what we asked if
we are running as an HVM guest, so we need to be able to support pirqs
that are different from linux irqs.

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Reviewed-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
drivers/xen/events.c
include/xen/events.h