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: ralf@linux-mips.org
Date: Sun, 30 Jan 2005 19:10:11 +0000
Reply-to: linux-mips@linux-mips.org
Sender: linux-cvs-patches-bounce@linux-mips.org
CVSROOT:        /home/cvs
Module name:    linux
Changes by:     ralf@ftp.linux-mips.org 05/01/30 19:10:05

Modified files:
        arch/mips/kernel: irixelf.c 

Log message:
        Rip out messing with the syscall table.  This is fundamentally racy,
        I told you a dozen times.

diff -urN linux/arch/mips/kernel/irixelf.c linux/arch/mips/kernel/irixelf.c
--- linux/arch/mips/kernel/irixelf.c    2005/01/25 04:28:00     1.62
+++ linux/arch/mips/kernel/irixelf.c    2005/01/30 19:10:05     1.63
@@ -1302,18 +1302,9 @@
 {
        int init_inventory(void);
        extern asmlinkage unsigned long sys_call_table;
-       extern asmlinkage unsigned long sys_call_table_irix5;
 
        init_inventory();
 
-       /*
-        * Copy the IRIX5 syscall table (8000 bytes) into the main syscall
-        * table. The IRIX5 calls are located by an offset of 8000 bytes
-        * from the beginning of the main table.
-        */
-       memcpy((void *) ((unsigned long) &sys_call_table + 8000),
-               &sys_call_table_irix5, 8000);
-
        return register_binfmt(&irix_format);
 }
 

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