patch-2.2.8 linux/include/asm-arm/arch-ebsa110/a.out.h
Next file: linux/include/asm-arm/arch-ebsa110/hardware.h
Previous file: linux/include/asm-arm/arch-arc/uncompress.h
Back to the patch index
Back to the overall index
- Lines: 22
- Date:
Sat May 8 11:06:57 1999
- Orig file:
v2.2.7/linux/include/asm-arm/arch-ebsa110/a.out.h
- Orig date:
Fri Jan 8 22:36:21 1999
diff -u --recursive --new-file v2.2.7/linux/include/asm-arm/arch-ebsa110/a.out.h linux/include/asm-arm/arch-ebsa110/a.out.h
@@ -1,15 +1,16 @@
/*
* linux/include/asm-arm/arch-ebsa110/a.out.h
*
- * Copyright (C) 1996 Russell King
+ * Copyright (C) 1996-1999 Russell King
*/
-
#ifndef __ASM_ARCH_A_OUT_H
#define __ASM_ARCH_A_OUT_H
-#ifdef __KERNEL__
-#define STACK_TOP ((current->personality==PER_LINUX_32BIT)? 0xc0000000 : 0x04000000)
-#endif
+#include <asm/arch/memory.h>
+
+#define STACK_TOP \
+ ((current->personality == PER_LINUX_32BIT) ? \
+ TASK_SIZE : 0x04000000)
#endif
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)