Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[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>

authored by

Atsushi Nemoto and committed by
Ralf Baechle
d01f06ef 24c556e9

-4
-4
arch/mips/dec/int-handler.S
··· 264 264 srlv t3,t1,t2 265 265 266 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 267 j dec_irq_dispatch 271 268 nop 272 269 ··· 274 277 #endif 275 278 276 279 spurious: 277 - PTR_LA ra, _ret_from_irq 278 280 j spurious_interrupt 279 281 nop 280 282 END(plat_irq_dispatch)