patch-2.0.37 linux/include/asm-i386/processor.h

Next file: linux/include/asm-i386/system.h
Previous file: linux/include/asm-i386/pgtable.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.0.36/linux/include/asm-i386/processor.h linux/include/asm-i386/processor.h
@@ -83,10 +83,9 @@
 #define MCA_bus__is_a_macro /* for versions in ksyms.c */
 
 /*
- * User space process size: 3GB. This is hardcoded into a few places,
- * so don't change it unless you know what you are doing.
+ * User space process size: 3GB (default).
  */
-#define TASK_SIZE	(0xC0000000UL)
+#define TASK_SIZE	((unsigned long)__PAGE_OFFSET)
 #define MAX_USER_ADDR	TASK_SIZE
 #define MMAP_SEARCH_START (TASK_SIZE/3)
 

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