Commit d01f06ef authored by Atsushi Nemoto's avatar Atsushi Nemoto Committed by Ralf Baechle

[MIPS] DECstation: Fix irq handling

When I post a patch (commit f431baa5),
I just tried to not change behavior of existing codes, but it seems
dec/int-handler.S had been broken since its previous commit
937a8015.

The caller of plat_irq_dispatch do setup/restore TI_REGS($28), so
dec's plat_irq_dispatch should not do it, and there is no need to
adjust RA.
Signed-off-by: default avatarAtsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent 24c556e9
...@@ -264,9 +264,6 @@ ...@@ -264,9 +264,6 @@
srlv t3,t1,t2 srlv t3,t1,t2
handle_it: handle_it:
LONG_L s0, TI_REGS($28)
LONG_S sp, TI_REGS($28)
PTR_LA ra, ret_from_irq
j dec_irq_dispatch j dec_irq_dispatch
nop nop
...@@ -277,7 +274,6 @@ fpu: ...@@ -277,7 +274,6 @@ fpu:
#endif #endif
spurious: spurious:
PTR_LA ra, _ret_from_irq
j spurious_interrupt j spurious_interrupt
nop nop
END(plat_irq_dispatch) END(plat_irq_dispatch)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment