diff options
Diffstat (limited to 'arch/mips/include/asm/processor.h')
-rw-r--r-- | arch/mips/include/asm/processor.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/mips/include/asm/processor.h b/arch/mips/include/asm/processor.h index 9daa38608cd8..be903acf4fe4 100644 --- a/arch/mips/include/asm/processor.h +++ b/arch/mips/include/asm/processor.h | |||
@@ -54,9 +54,7 @@ extern unsigned int vced_count, vcei_count; | |||
54 | #define TASK_SIZE 0x7fff8000UL | 54 | #define TASK_SIZE 0x7fff8000UL |
55 | #endif | 55 | #endif |
56 | 56 | ||
57 | #ifdef __KERNEL__ | ||
58 | #define STACK_TOP_MAX TASK_SIZE | 57 | #define STACK_TOP_MAX TASK_SIZE |
59 | #endif | ||
60 | 58 | ||
61 | #define TASK_IS_32BIT_ADDR 1 | 59 | #define TASK_IS_32BIT_ADDR 1 |
62 | 60 | ||
@@ -73,11 +71,7 @@ extern unsigned int vced_count, vcei_count; | |||
73 | #define TASK_SIZE32 0x7fff8000UL | 71 | #define TASK_SIZE32 0x7fff8000UL |
74 | #define TASK_SIZE64 0x10000000000UL | 72 | #define TASK_SIZE64 0x10000000000UL |
75 | #define TASK_SIZE (test_thread_flag(TIF_32BIT_ADDR) ? TASK_SIZE32 : TASK_SIZE64) | 73 | #define TASK_SIZE (test_thread_flag(TIF_32BIT_ADDR) ? TASK_SIZE32 : TASK_SIZE64) |
76 | |||
77 | #ifdef __KERNEL__ | ||
78 | #define STACK_TOP_MAX TASK_SIZE64 | 74 | #define STACK_TOP_MAX TASK_SIZE64 |
79 | #endif | ||
80 | |||
81 | 75 | ||
82 | #define TASK_SIZE_OF(tsk) \ | 76 | #define TASK_SIZE_OF(tsk) \ |
83 | (test_tsk_thread_flag(tsk, TIF_32BIT_ADDR) ? TASK_SIZE32 : TASK_SIZE64) | 77 | (test_tsk_thread_flag(tsk, TIF_32BIT_ADDR) ? TASK_SIZE32 : TASK_SIZE64) |