patch-2.4.22 linux-2.4.22/arch/mips/ddb5xxx/ddb5477/int-handler.S

Next file: linux-2.4.22/arch/mips/ddb5xxx/ddb5477/irq.c
Previous file: linux-2.4.22/arch/mips/ddb5xxx/ddb5477/debug.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.21/arch/mips/ddb5xxx/ddb5477/int-handler.S linux-2.4.22/arch/mips/ddb5xxx/ddb5477/int-handler.S
@@ -14,6 +14,7 @@
 #include <asm/addrspace.h>
 #include <asm/regdef.h>
 #include <asm/stackframe.h>
+#include <asm/ddb5xxx/ddb5477.h>
 
 /*
  * first level interrupt dispatcher for ocelot board -
@@ -55,20 +56,20 @@
 	j	ret_from_irq
 
 ll_cputimer_irq:
-	li	a0, 7
+	li	a0, CPU_IRQ_BASE + 7
 	move	a1, sp
 	jal	do_IRQ
 	j	ret_from_irq
 
 
 ll_cpu_ip0:
-	li	a0, 0
+	li	a0, CPU_IRQ_BASE + 0
 	move	a1, sp
 	jal	do_IRQ
 	j	ret_from_irq
 
 ll_cpu_ip1:
-	li	a0, 1
+	li	a0, CPU_IRQ_BASE + 1
 	move	a1, sp
 	jal	do_IRQ
 	j	ret_from_irq

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)