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

Next file: linux/include/asm-arm/arch-ebsa110/dma.h
Previous file: linux/include/asm-arm/arch-arc/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-ebsa110/a.out.h linux/include/asm-arm/arch-ebsa110/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, [email protected]
TCL-scripts by Sam Shen, [email protected]