summaryrefslogtreecommitdiffstats
path: root/drivers/xen/events.c
diff options
context:
space:
mode:
authorJeremy Fitzhardinge <jeremy@goop.org>2009-02-06 23:09:42 +0100
committerIngo Molnar <mingo@elte.hu>2009-02-09 12:16:15 +0100
commit54a353a0f845c1dad5fc8183872e750d667838ac (patch)
tree27f33a6ca7fd1eb21f43716141406bdfa3f648cc /drivers/xen/events.c
parentx86: unify do_IRQ() (diff)
downloadlinux-54a353a0f845c1dad5fc8183872e750d667838ac.tar.xz
linux-54a353a0f845c1dad5fc8183872e750d667838ac.zip
xen: set irq_chip disable
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>
Diffstat (limited to '')
-rw-r--r--drivers/xen/events.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/xen/events.c b/drivers/xen/events.c
index 3141e149d595..7c3705479ea1 100644
--- a/drivers/xen/events.c
+++ b/drivers/xen/events.c
@@ -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,