diff options
author | Atsushi Nemoto <anemo@mba.ocn.ne.jp> | 2007-02-12 09:48:26 -0500 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2007-02-13 17:40:51 -0500 |
commit | d01f06ef0c783eceb53030fc5407caa94586bd6a (patch) | |
tree | 340d65d6143e2ee7218bdc98219acdb1a87f2e24 /arch/mips | |
parent | 24c556e99ec8a61ce1fbc75bee61dc19edf2c4df (diff) |
[MIPS] DECstation: Fix irq handling
When I post a patch (commit f431baa55abf8adeed0c718b51deacbc151f58f1),
I just tried to not change behavior of existing codes, but it seems
dec/int-handler.S had been broken since its previous commit
937a801576f954bd030d7c4a5a94571710d87c0b.
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: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips')
-rw-r--r-- | arch/mips/dec/int-handler.S | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/mips/dec/int-handler.S b/arch/mips/dec/int-handler.S index b251ef864c33..00cecdcc75f2 100644 --- a/arch/mips/dec/int-handler.S +++ b/arch/mips/dec/int-handler.S | |||
@@ -264,9 +264,6 @@ | |||
264 | srlv t3,t1,t2 | 264 | srlv t3,t1,t2 |
265 | 265 | ||
266 | handle_it: | 266 | handle_it: |
267 | LONG_L s0, TI_REGS($28) | ||
268 | LONG_S sp, TI_REGS($28) | ||
269 | PTR_LA ra, ret_from_irq | ||
270 | j dec_irq_dispatch | 267 | j dec_irq_dispatch |
271 | nop | 268 | nop |
272 | 269 | ||
@@ -277,7 +274,6 @@ fpu: | |||
277 | #endif | 274 | #endif |
278 | 275 | ||
279 | spurious: | 276 | spurious: |
280 | PTR_LA ra, _ret_from_irq | ||
281 | j spurious_interrupt | 277 | j spurious_interrupt |
282 | nop | 278 | nop |
283 | END(plat_irq_dispatch) | 279 | END(plat_irq_dispatch) |