patch-2.1.86 linux/include/asm-alpha/processor.h

Next file: linux/include/asm-alpha/signal.h
Previous file: linux/include/asm-alpha/elf.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.85/linux/include/asm-alpha/processor.h linux/include/asm-alpha/processor.h
@@ -15,7 +15,8 @@
 /* This decides where the kernel will search for a free chunk of vm
  * space during mmap's.
  */
-#define TASK_UNMAPPED_BASE	(TASK_SIZE / 3)
+#define TASK_UNMAPPED_BASE \
+  ((current->personality & ADDR_LIMIT_32BIT) ? 0x40000000 : TASK_SIZE / 2)
 
 /*
  * Bus types

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