patch-2.4.25 linux-2.4.25/arch/mips/kernel/scall_o32.S

Next file: linux-2.4.25/arch/mips/kernel/semaphore.c
Previous file: linux-2.4.25/arch/mips/kernel/proc.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.24/arch/mips/kernel/scall_o32.S linux-2.4.25/arch/mips/kernel/scall_o32.S
@@ -18,7 +18,7 @@
 #include <asm/unistd.h>
 
 /* Highest syscall used of any syscall flavour */
-#define MAX_SYSCALL_NO	__NR_Linux + __NR_Linux_syscalls
+#define MAX_SYSCALL_NO	__NR_O32_Linux + __NR_O32_Linux_syscalls
 
 	.align  5
 NESTED(handle_sys, PT_SIZE, sp)
@@ -309,7 +309,7 @@
 LEAF(sys_syscall)
 	lw	t0, PT_R29(sp)		# user sp
 
-	sltu	v0, a0, __NR_Linux + __NR_Linux_syscalls + 1
+	sltu	v0, a0, __NR_O32_Linux + __NR_O32_Linux_syscalls + 1
 	beqz	v0, enosys
 
 	sll	v0, a0, 2

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