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.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/kernel/irq/handle.c b/kernel/irq/handle.c
index b6eeea8a80c5..e25a83b67cce 100644
--- a/kernel/irq/handle.c
+++ b/kernel/irq/handle.c
@@ -22,17 +22,19 @@
22 22
23/** 23/**
24 * handle_bad_irq - handle spurious and unhandled irqs 24 * handle_bad_irq - handle spurious and unhandled irqs
25 * @irq: the interrupt number
26 * @desc: description of the interrupt 25 * @desc: description of the interrupt
27 * 26 *
28 * Handles spurious and unhandled IRQ's. It also prints a debugmessage. 27 * Handles spurious and unhandled IRQ's. It also prints a debugmessage.
29 */ 28 */
30void handle_bad_irq(unsigned int irq, struct irq_desc *desc) 29void handle_bad_irq(struct irq_desc *desc)
31{ 30{
31 unsigned int irq = irq_desc_get_irq(desc);
32
32 print_irq_desc(irq, desc); 33 print_irq_desc(irq, desc);
33 kstat_incr_irqs_this_cpu(desc); 34 kstat_incr_irqs_this_cpu(desc);
34 ack_bad_irq(irq); 35 ack_bad_irq(irq);
35} 36}
37EXPORT_SYMBOL_GPL(handle_bad_irq);
36 38
37/* 39/*
38 * Special, empty irq handler: 40 * Special, empty irq handler: