xen: events: maintain a list of Xen interrupts
authorIan Campbell <ian.campbell@citrix.com>
Thu, 10 Mar 2011 16:08:11 +0000 (16:08 +0000)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Thu, 10 Mar 2011 19:48:41 +0000 (14:48 -0500)
commit6cb6537d34a146c8f3e232da9ffd79ae1265fed3
tree1b050ae966f66efe5abcbd3b12029b4420499e5b
parent3d4cfa3736f2f080d3bde4f4329b7b6a7544e093
xen: events: maintain a list of Xen interrupts

In a PVHVM kernel not all interrupts are Xen interrupts (APIC interrupts can also be present).

Currently we get away with walking over all interrupts because the
lookup in the irq_info array simply returns IRQT_UNBOUND and we ignore
it. However this array will be going away in a future patch so we need
to manually track which interrupts have been allocated by the Xen
events infrastructure.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
drivers/xen/events.c