aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/irq/handle.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2006-06-29 05:24:51 -0400
committerLinus Torvalds <torvalds@g5.osdl.org>2006-06-29 13:26:24 -0400
commit6a6de9ef5850d063c3d3fb50784bfe3a6d0712c6 (patch)
treed09f1887fd8890c820559b931140afe4c68f2d7f /kernel/irq/handle.c
parenta34db9b28a1c63317e1d6f1080a12d711579e7d0 (diff)
[PATCH] genirq: core
Core genirq support: add the irq-chip and irq-flow abstractions. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'kernel/irq/handle.c')
-rw-r--r--kernel/irq/handle.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/kernel/irq/handle.c b/kernel/irq/handle.c
index bddcb8f5fea4..a04b516afa59 100644
--- a/kernel/irq/handle.c
+++ b/kernel/irq/handle.c
@@ -18,6 +18,16 @@
18 18
19#include "internals.h" 19#include "internals.h"
20 20
21/**
22 * handle_bad_irq - handle spurious and unhandled irqs
23 */
24void fastcall
25handle_bad_irq(unsigned int irq, struct irq_desc *desc, struct pt_regs *regs)
26{
27 kstat_this_cpu.irqs[irq]++;
28 ack_bad_irq(irq);
29}
30
21/* 31/*
22 * Linux has a controller-independent interrupt architecture. 32 * Linux has a controller-independent interrupt architecture.
23 * Every controller has a 'controller-template', that is used 33 * Every controller has a 'controller-template', that is used