patch-2.0.34 linux/include/asm-alpha/a.out.h
Next file: linux/include/asm-alpha/apecs.h
Previous file: linux/fs/vfat/vfatfs_syms.c
Back to the patch index
Back to the overall index
- Lines: 10
- Date:
Wed Jun 3 15:17:49 1998
- Orig file:
v2.0.33/linux/include/asm-alpha/a.out.h
- Orig date:
Thu Nov 9 00:04:33 1995
diff -u --recursive --new-file v2.0.33/linux/include/asm-alpha/a.out.h linux/include/asm-alpha/a.out.h
@@ -90,7 +90,8 @@
#ifdef __KERNEL__
-#define STACK_TOP (0x00120000000UL)
+#define STACK_TOP ((current->personality & ADDR_MAX_32BIT) ? 0x100000000UL : \
+ ((current->personality&ADDR_MAX_31BIT) ? 0x80000000UL : 0x00120000000UL))
#endif
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov