commit | 93373ed4d87fb02554ce020d929388ac16913664 | [log] [tgz] |
---|---|---|
author | Ralf Baechle <ralf@linux-mips.org> | Sat Apr 01 21:17:45 2006 +0100 |
committer | Ralf Baechle <ralf@linux-mips.org> | Wed Apr 19 04:14:18 2006 +0200 |
tree | 01925421619219d00c39744b0a4cc79b8f7f719b | |
parent | c9e321e095384f25f2b7ffef456794cfa876dafc [diff] [blame] |
[MIPS] Rewrite spurious_interrupt from assembler to C. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
diff --git a/arch/mips/kernel/irq.c b/arch/mips/kernel/irq.c index 3dd76b3..e0efc4f 100644 --- a/arch/mips/kernel/irq.c +++ b/arch/mips/kernel/irq.c
@@ -101,6 +101,11 @@ return 0; } +asmlinkage void spurious_interrupt(struct pt_regs *regs) +{ + atomic_inc(&irq_err_count); +} + #ifdef CONFIG_KGDB extern void breakpoint(void); extern void set_debug_traps(void);