aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/momentum
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2006-04-01 15:17:45 -0500
committerRalf Baechle <ralf@linux-mips.org>2006-04-18 22:14:18 -0400
commit93373ed4d87fb02554ce020d929388ac16913664 (patch)
tree01925421619219d00c39744b0a4cc79b8f7f719b /arch/mips/momentum
parentc9e321e095384f25f2b7ffef456794cfa876dafc (diff)
[MIPS] Rewrite spurious_interrupt from assembler to C.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/momentum')
-rw-r--r--arch/mips/momentum/ocelot_3/int-handler.S4
-rw-r--r--arch/mips/momentum/ocelot_c/int-handler.S3
2 files changed, 5 insertions, 2 deletions
diff --git a/arch/mips/momentum/ocelot_3/int-handler.S b/arch/mips/momentum/ocelot_3/int-handler.S
index 4522f09ed769..b1207262984a 100644
--- a/arch/mips/momentum/ocelot_3/int-handler.S
+++ b/arch/mips/momentum/ocelot_3/int-handler.S
@@ -78,8 +78,10 @@
78 .set reorder 78 .set reorder
79 79
80 /* wrong alarm or masked ... */ 80 /* wrong alarm or masked ... */
81 j spurious_interrupt 81 jal spurious_interrupt
82 nop 82 nop
83 j ret_from_irq
84 nop
83 END(ocelot3_handle_int) 85 END(ocelot3_handle_int)
84 86
85 .align 5 87 .align 5
diff --git a/arch/mips/momentum/ocelot_c/int-handler.S b/arch/mips/momentum/ocelot_c/int-handler.S
index 52349d9bf1be..f77834193c3c 100644
--- a/arch/mips/momentum/ocelot_c/int-handler.S
+++ b/arch/mips/momentum/ocelot_c/int-handler.S
@@ -52,8 +52,9 @@
52 .set reorder 52 .set reorder
53 53
54 /* wrong alarm or masked ... */ 54 /* wrong alarm or masked ... */
55 j spurious_interrupt 55 jal spurious_interrupt
56 nop 56 nop
57 j ret_from_irq
57 END(ocelot_handle_int) 58 END(ocelot_handle_int)
58 59
59 .align 5 60 .align 5