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

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)