summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremy Fitzhardinge <jeremy@goop.org>2009-02-06 14:09:42 -0800
committerIngo Molnar <mingo@elte.hu>2009-02-09 12:16:15 +0100
commit54a353a0f845c1dad5fc8183872e750d667838ac (patch)
tree27f33a6ca7fd1eb21f43716141406bdfa3f648cc
parent7c1d7cdcef1b54f4a78892b6b99d19f12c4f398e (diff)
downloadblackbird-op-linux-54a353a0f845c1dad5fc8183872e750d667838ac.tar.gz
blackbird-op-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>
-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,
OpenPOWER on IntegriCloud