diff options
Diffstat (limited to 'include/asm-um/processor-generic.h')
-rw-r--r-- | include/asm-um/processor-generic.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/include/asm-um/processor-generic.h b/include/asm-um/processor-generic.h index 35ab6a292d63..ecf67069941a 100644 --- a/include/asm-um/processor-generic.h +++ b/include/asm-um/processor-generic.h | |||
@@ -94,9 +94,7 @@ static inline void mm_copy_segments(struct mm_struct *from_mm, | |||
94 | /* | 94 | /* |
95 | * User space process size: 3GB (default). | 95 | * User space process size: 3GB (default). |
96 | */ | 96 | */ |
97 | extern unsigned long task_size; | 97 | #define TASK_SIZE (CONFIG_TOP_ADDR & PGDIR_MASK) |
98 | |||
99 | #define TASK_SIZE (task_size) | ||
100 | 98 | ||
101 | /* This decides where the kernel will search for a free chunk of vm | 99 | /* This decides where the kernel will search for a free chunk of vm |
102 | * space during mmap's. | 100 | * space during mmap's. |