linux-cvs-patches
[Top] [All Lists]

CVS Update@linux-mips.org: linux

To: linux-cvs-patches@linux-mips.org
Subject: CVS Update@linux-mips.org: linux
From: ths@linux-mips.org
Date: Fri, 07 Jan 2005 16:50:19 +0000
Reply-to: linux-mips@linux-mips.org
Sender: linux-cvs-patches-bounce@linux-mips.org
CVSROOT:        /home/cvs
Module name:    linux
Changes by:     ths@ftp.linux-mips.org  05/01/07 16:50:11

Modified files:
        arch/mips/kernel: scall32-o32.S scall64-o32.S 

Log message:
        There are no null syscall pointers any more.

diff -urN linux/arch/mips/kernel/scall32-o32.S 
linux/arch/mips/kernel/scall32-o32.S
--- linux/arch/mips/kernel/scall32-o32.S        2005/01/07 13:03:30     1.22
+++ linux/arch/mips/kernel/scall32-o32.S        2005/01/07 16:50:11     1.23
@@ -289,7 +289,6 @@
 #else
        li      v1, 4000 - __NR_O32_Linux       # index of sys_syscall
 #endif
-       beqz    t2, einval                      # null function pointer?
        beq     t0, v1, einval                  # do not recurse
 
        /* Some syscalls like execve get their arguments from struct pt_regs
diff -urN linux/arch/mips/kernel/scall64-o32.S 
linux/arch/mips/kernel/scall64-o32.S
--- linux/arch/mips/kernel/scall64-o32.S        2005/01/07 13:03:30     1.29
+++ linux/arch/mips/kernel/scall64-o32.S        2005/01/07 16:50:11     1.30
@@ -178,7 +178,6 @@
        ld      t2, (sys_call_table - (__NR_O32_Linux * 8))(v0)
 
        li      v1, 4000                # indirect syscall number
-       beqz    t2, einval              # null function pointer?
        beq     a0, v1, einval          # do not recurse
 
        move    a0, a1                  # shift argument registers

<Prev in Thread] Current Thread [Next in Thread>