diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2006-06-29 05:24:53 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-06-29 13:26:24 -0400 |
commit | dd87eb3a24c4527741122713e223d74b85d43c85 (patch) | |
tree | 0c3796af23da908515d890a7b8fde37893eb3b2a /kernel/irq/spurious.c | |
parent | dae8620421833bb2e9a01c4ccc42bdc3759b81df (diff) |
[PATCH] genirq: add irq-chip support
Enable platforms to use the irq-chip and irq-flow abstractions: allow setting
of the chip, the type and provide highlevel handlers for common irq-flows.
[rostedt@goodmis.org: misroute-irq: Don't call desc->chip->end because of edge interrupts]
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'kernel/irq/spurious.c')
-rw-r--r-- | kernel/irq/spurious.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/irq/spurious.c b/kernel/irq/spurious.c index ca187b83f897..b483deed311c 100644 --- a/kernel/irq/spurious.c +++ b/kernel/irq/spurious.c | |||
@@ -79,7 +79,7 @@ static int misrouted_irq(int irq, struct pt_regs *regs) | |||
79 | * If we did actual work for the real IRQ line we must let the | 79 | * If we did actual work for the real IRQ line we must let the |
80 | * IRQ controller clean up too | 80 | * IRQ controller clean up too |
81 | */ | 81 | */ |
82 | if (work) | 82 | if (work && desc->chip && desc->chip->end) |
83 | desc->chip->end(i); | 83 | desc->chip->end(i); |
84 | spin_unlock(&desc->lock); | 84 | spin_unlock(&desc->lock); |
85 | } | 85 | } |