aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/irq/handle.c
diff options
context:
space:
mode:
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