1 diff -Naur ./arch/i386/Kconfig ../linux-2.6.8.1-mem/./arch/i386/Kconfig
2 --- ./arch/i386/Kconfig 2004-08-25 21:38:29.435578760 -0600
3 +++ ../linux-2.6.8.1-mem/./arch/i386/Kconfig 2004-08-25 20:50:36.000000000 -0600
9 + prompt "User address space size"
13 + depends on NOHIGHMEM
14 + bool "3GB User Address Space"
18 + depends on NOHIGHMEM
19 + bool "2GB User Address Space"
23 + depends on NOHIGHMEM
24 + bool "1GB User Address Space"
29 # Common NUMA Features
31 bool "Numa Memory Allocation and Scheduler Support"
32 diff -Naur ./include/asm-generic/page_offset.h ../linux-2.6.8.1-mem/./include/asm-generic/page_offset.h
33 --- ./include/asm-generic/page_offset.h 1969-12-31 17:00:00.000000000 -0700
34 +++ ../linux-2.6.8.1-mem/./include/asm-generic/page_offset.h 2004-08-25 20:51:03.000000000 -0600
37 +#include <linux/config.h>
41 +#if defined(CONFIG_USER_1GB)
42 +#define PAGE_OFFSET_RAW 0x40000000
43 +#elif defined(CONFIG_USER_2GB)
44 +#define PAGE_OFFSET_RAW 0x80000000
45 +#elif defined(CONFIG_USER_3GB)
46 +#define PAGE_OFFSET_RAW 0xC0000000
51 +#if defined(CONFIG_USER_1GB)
52 +#define PAGE_OFFSET_RAW 0x40000000UL
53 +#elif defined(CONFIG_USER_2GB)
54 +#define PAGE_OFFSET_RAW 0x80000000UL
55 +#elif defined(CONFIG_USER_3GB)
56 +#define PAGE_OFFSET_RAW 0xC0000000UL
60 diff -Naur ./include/asm-generic/vmlinux.lds.h ../linux-2.6.8.1-mem/./include/asm-generic/vmlinux.lds.h
61 --- ./include/asm-generic/vmlinux.lds.h 2004-08-14 04:54:48.000000000 -0600
62 +++ ../linux-2.6.8.1-mem/./include/asm-generic/vmlinux.lds.h 2004-08-25 20:49:32.000000000 -0600
65 +#include <asm-generic/page_offset.h>
70 diff -Naur ./include/asm-i386/page.h ../linux-2.6.8.1-mem/./include/asm-i386/page.h
71 --- ./include/asm-i386/page.h 2004-08-14 04:54:50.000000000 -0600
72 +++ ../linux-2.6.8.1-mem/./include/asm-i386/page.h 2004-08-25 20:49:32.000000000 -0600
74 #endif /* __ASSEMBLY__ */
77 -#define __PAGE_OFFSET (0xC0000000)
78 +#include <asm-generic/page_offset.h>
79 +#define __PAGE_OFFSET (PAGE_OFFSET_RAW)
81 -#define __PAGE_OFFSET (0xC0000000UL)
82 +#include <asm-generic/page_offset.h>
83 +#define __PAGE_OFFSET (PAGE_OFFSET_RAW)