Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/shaggy...
[linux-drm-fsl-dcu.git] / arch / mips / dec / int-handler.S
index 455a65b91cb0b707e3656cc450238ae5f45a73cd..b251ef864c33b281fa899a295c266f10f48db98d 100644 (file)
                 srlv   t3,t1,t2
 
 handle_it:
-               jal     do_IRQ
-                move   a1,sp
-
-               j       ret_from_irq
+               LONG_L  s0, TI_REGS($28)
+               LONG_S  sp, TI_REGS($28)
+               PTR_LA  ra, ret_from_irq
+               j       dec_irq_dispatch
                 nop
 
 #ifdef CONFIG_32BIT
@@ -277,9 +277,8 @@ fpu:
 #endif
 
 spurious:
-               jal     spurious_interrupt
-                nop
-               j       ret_from_irq
+               PTR_LA  ra, _ret_from_irq
+               j       spurious_interrupt
                 nop
                END(plat_irq_dispatch)