xen: use percpu interrupts for IPIs and VIRQs
authorJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Sat, 21 Aug 2010 01:57:53 +0000 (18:57 -0700)
committerJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Tue, 24 Aug 2010 18:13:28 +0000 (11:13 -0700)
commitaaca49642b92c8a57d3ca5029a5a94019c7af69f
treea86a88c11addd689a2903d21f1bb948f461c1a1d
parent76be97c1fc945db08aae1f1b746012662d643e97
xen: use percpu interrupts for IPIs and VIRQs

IPIs and VIRQs are inherently per-cpu event types, so treat them as such:
 - use a specific percpu irq_chip implementation, and
 - handle them with handle_percpu_irq

This makes the path for delivering these interrupts more efficient
(no masking/unmasking, no locks), and it avoid problems with attempts
to migrate them.

Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Cc: Stable Kernel <stable@kernel.org>
drivers/xen/events.c