diff options
Diffstat (limited to 'include/asm-um/processor-generic.h')
-rw-r--r-- | include/asm-um/processor-generic.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/asm-um/processor-generic.h b/include/asm-um/processor-generic.h index 7a1624cdaf7e..bed668824b5f 100644 --- a/include/asm-um/processor-generic.h +++ b/include/asm-um/processor-generic.h | |||
@@ -11,7 +11,6 @@ struct pt_regs; | |||
11 | struct task_struct; | 11 | struct task_struct; |
12 | 12 | ||
13 | #include "asm/ptrace.h" | 13 | #include "asm/ptrace.h" |
14 | #include "asm/pgtable.h" | ||
15 | #include "registers.h" | 14 | #include "registers.h" |
16 | #include "sysdep/archsetjmp.h" | 15 | #include "sysdep/archsetjmp.h" |
17 | 16 | ||
@@ -92,7 +91,9 @@ static inline void mm_copy_segments(struct mm_struct *from_mm, | |||
92 | /* | 91 | /* |
93 | * User space process size: 3GB (default). | 92 | * User space process size: 3GB (default). |
94 | */ | 93 | */ |
95 | #define TASK_SIZE (CONFIG_TOP_ADDR & PGDIR_MASK) | 94 | extern unsigned long task_size; |
95 | |||
96 | #define TASK_SIZE (task_size) | ||
96 | 97 | ||
97 | #undef STACK_TOP | 98 | #undef STACK_TOP |
98 | #undef STACK_TOP_MAX | 99 | #undef STACK_TOP_MAX |