diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2006-04-01 15:17:45 -0500 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2006-04-18 22:14:18 -0400 |
commit | 93373ed4d87fb02554ce020d929388ac16913664 (patch) | |
tree | 01925421619219d00c39744b0a4cc79b8f7f719b /arch/mips/kernel/irq.c | |
parent | c9e321e095384f25f2b7ffef456794cfa876dafc (diff) |
[MIPS] Rewrite spurious_interrupt from assembler to C.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/kernel/irq.c')
-rw-r--r-- | arch/mips/kernel/irq.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/mips/kernel/irq.c b/arch/mips/kernel/irq.c index 3dd76b3d2967..e0efc4f2f93e 100644 --- a/arch/mips/kernel/irq.c +++ b/arch/mips/kernel/irq.c | |||
@@ -101,6 +101,11 @@ skip: | |||
101 | return 0; | 101 | return 0; |
102 | } | 102 | } |
103 | 103 | ||
104 | asmlinkage void spurious_interrupt(struct pt_regs *regs) | ||
105 | { | ||
106 | atomic_inc(&irq_err_count); | ||
107 | } | ||
108 | |||
104 | #ifdef CONFIG_KGDB | 109 | #ifdef CONFIG_KGDB |
105 | extern void breakpoint(void); | 110 | extern void breakpoint(void); |
106 | extern void set_debug_traps(void); | 111 | extern void set_debug_traps(void); |