patch-2.4.22 linux-2.4.22/arch/mips/ite-boards/generic/int-handler.S
Next file: linux-2.4.22/arch/mips/ite-boards/generic/irq.c
Previous file: linux-2.4.22/arch/mips/ite-boards/generic/dbg_io.c
Back to the patch index
Back to the overall index
- Lines: 39
- Date:
2003-08-25 04:44:40.000000000 -0700
- Orig file:
linux-2.4.21/arch/mips/ite-boards/generic/int-handler.S
- Orig date:
2002-08-02 17:39:43.000000000 -0700
diff -urN linux-2.4.21/arch/mips/ite-boards/generic/int-handler.S linux-2.4.22/arch/mips/ite-boards/generic/int-handler.S
@@ -26,15 +26,17 @@
andi a0, t0, CAUSEF_IP7
beq a0, zero, 1f
- move a0, sp
- jal local_timer_interrupt
+
+ li a0, 127 # MIPS_CPU_TIMER_IRQ = (NR_IRQS-1)
+ move a1, sp
+ jal ll_timer_interrupt
j ret_from_irq
nop
-
+
1:
andi a0, t0, CAUSEF_IP2 # the only int we expect at this time
- beq a0, zero, 3f
- move a0,sp
+ beq a0, zero, 3f
+ move a0,sp
jal it8172_hw0_irqdispatch
mfc0 t0,CP0_STATUS # disable interrupts
@@ -44,12 +46,12 @@
nop
nop
nop
-
+
la a1, ret_from_irq
jr a1
nop
-
-3:
+
+3:
move a0, sp
jal mips_spurious_interrupt
nop
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)