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: Sat, 15 Jan 2005 00:36:51 +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/15 00:36:45

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

Log message:
        What's the purpose of STACK_TOP if nobody's using it ...

diff -urN linux/arch/mips/kernel/syscall.c linux/arch/mips/kernel/syscall.c
--- linux/arch/mips/kernel/syscall.c    2004/12/04 20:10:19     1.47
+++ linux/arch/mips/kernel/syscall.c    2005/01/15 00:36:45     1.48
@@ -3,10 +3,11 @@
  * License.  See the file "COPYING" in the main directory of this archive
  * for more details.
  *
- * Copyright (C) 1995, 1996, 1997, 2000, 2001 by Ralf Baechle
+ * Copyright (C) 1995, 1996, 1997, 2000, 2001, 05 by Ralf Baechle
  * Copyright (C) 1999, 2000 Silicon Graphics, Inc.
  * Copyright (C) 2001 MIPS Technologies, Inc.
  */
+#include <linux/a.out.h>
 #include <linux/errno.h>
 #include <linux/linkage.h>
 #include <linux/mm.h>
@@ -66,11 +67,7 @@
        int do_color_align;
        unsigned long task_size;
 
-#ifdef CONFIG_MIPS32
-       task_size = TASK_SIZE;
-#else
-       task_size = (current->thread.mflags & MF_32BIT_ADDR) ? TASK_SIZE32 : 
TASK_SIZE;
-#endif
+       task_size = STACK_TOP;
 
        if (flags & MAP_FIXED) {
                /*

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