xen: use the trigger info we already have to choose the irq handler
authorStefano Stabellini <stefano.stabellini@eu.citrix.com>
Wed, 25 May 2011 11:33:23 +0000 (12:33 +0100)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Tue, 31 May 2011 15:44:03 +0000 (11:44 -0400)
commite5ac0bda96c495321dbad9b57a4b1a93a5a72e7f
treec5fb04b58e9880c358716dc79ae80f7fa3e27003
parent55922c9d1b84b89cb946c777fddccb3247e7df2c
xen: use the trigger info we already have to choose the irq handler

Do not use pirq_needs_eoi to decide which irq handler to use because Xen
always returns true if the guest does not support pirq_eoi_map.
Use the trigger information we already have from MP-tables and ACPI.

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Reported-by: Thomas Goetz <tom.goetz@virtualcomputer.com>
Tested-by: Thomas Goetz <tom.goetz@virtualcomputer.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
drivers/xen/events.c