patch-2.1.96 linux/include/asm-arm/arch-rpc/a.out.h

Next file: linux/include/asm-arm/arch-rpc/dma.h
Previous file: linux/include/asm-arm/arch-nexuspci/uncompress.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.95/linux/include/asm-arm/arch-rpc/a.out.h linux/include/asm-arm/arch-rpc/a.out.h
@@ -8,7 +8,7 @@
 #define __ASM_ARCH_A_OUT_H
 
 #ifdef __KERNEL__
-#define STACK_TOP		(0xc0000000)
+#define STACK_TOP		((current->personality==PER_LINUX_32BIT)? 0xc0000000 : 0x04000000)
 #define LIBRARY_START_TEXT	(0x00c00000)
 #endif
 

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