xen: set irq_chip disable
authorJeremy Fitzhardinge <jeremy@goop.org>
Fri, 6 Feb 2009 22:09:42 +0000 (14:09 -0800)
committerIngo Molnar <mingo@elte.hu>
Mon, 9 Feb 2009 11:16:15 +0000 (12:16 +0100)
By default, the irq_chip.disable operation is a no-op.  Explicitly set
it to disable the Xen event channel.

Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
drivers/xen/events.c

index 3141e149d5950136f41edf5e12016849a39cbc50..7c3705479ea1bcb5e84b935fcf1dd8dfa04e9bf5 100644 (file)
@@ -820,8 +820,11 @@ void xen_irq_resume(void)
 
 static struct irq_chip xen_dynamic_chip __read_mostly = {
        .name           = "xen-dyn",
+
+       .disable        = disable_dynirq,
        .mask           = disable_dynirq,
        .unmask         = enable_dynirq,
+
        .ack            = ack_dynirq,
        .set_affinity   = set_affinity_irq,
        .retrigger      = retrigger_dynirq,