aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/irq/spurious.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/irq/spurious.c')
-rw-r--r--kernel/irq/spurious.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/kernel/irq/spurious.c b/kernel/irq/spurious.c
index 5eae7bf3c347..3a0a62123301 100644
--- a/kernel/irq/spurious.c
+++ b/kernel/irq/spurious.c
@@ -99,7 +99,8 @@ static int misrouted_irq(int irq, struct pt_regs *regs)
99 */ 99 */
100 100
101static void 101static void
102__report_bad_irq(unsigned int irq, irq_desc_t *desc, irqreturn_t action_ret) 102__report_bad_irq(unsigned int irq, struct irq_desc *desc,
103 irqreturn_t action_ret)
103{ 104{
104 struct irqaction *action; 105 struct irqaction *action;
105 106
@@ -124,7 +125,7 @@ __report_bad_irq(unsigned int irq, irq_desc_t *desc, irqreturn_t action_ret)
124} 125}
125 126
126static void 127static void
127report_bad_irq(unsigned int irq, irq_desc_t *desc, irqreturn_t action_ret) 128report_bad_irq(unsigned int irq, struct irq_desc *desc, irqreturn_t action_ret)
128{ 129{
129 static int count = 100; 130 static int count = 100;
130 131
@@ -134,8 +135,8 @@ report_bad_irq(unsigned int irq, irq_desc_t *desc, irqreturn_t action_ret)
134 } 135 }
135} 136}
136 137
137void note_interrupt(unsigned int irq, irq_desc_t *desc, irqreturn_t action_ret, 138void note_interrupt(unsigned int irq, struct irq_desc *desc,
138 struct pt_regs *regs) 139 irqreturn_t action_ret, struct pt_regs *regs)
139{ 140{
140 if (unlikely(action_ret != IRQ_HANDLED)) { 141 if (unlikely(action_ret != IRQ_HANDLED)) {
141 desc->irqs_unhandled++; 142 desc->irqs_unhandled++;