patch-2.1.86 linux/include/asm-alpha/a.out.h

Next file: linux/include/asm-alpha/elf.h
Previous file: linux/fs/sysv/namei.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.85/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==PER_LINUX_32BIT) ? (0x80000000) : (0x00120000000UL))
 
 #endif
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov