diff options
Diffstat (limited to 'include/asm-powerpc/processor.h')
-rw-r--r-- | include/asm-powerpc/processor.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/asm-powerpc/processor.h b/include/asm-powerpc/processor.h index dba7c948189d..1f4765d6546f 100644 --- a/include/asm-powerpc/processor.h +++ b/include/asm-powerpc/processor.h | |||
@@ -99,8 +99,9 @@ extern struct task_struct *last_task_used_spe; | |||
99 | */ | 99 | */ |
100 | #define TASK_SIZE_USER32 (0x0000000100000000UL - (1*PAGE_SIZE)) | 100 | #define TASK_SIZE_USER32 (0x0000000100000000UL - (1*PAGE_SIZE)) |
101 | 101 | ||
102 | #define TASK_SIZE (test_thread_flag(TIF_32BIT) ? \ | 102 | #define TASK_SIZE_OF(tsk) (test_tsk_thread_flag(tsk, TIF_32BIT) ? \ |
103 | TASK_SIZE_USER32 : TASK_SIZE_USER64) | 103 | TASK_SIZE_USER32 : TASK_SIZE_USER64) |
104 | #define TASK_SIZE TASK_SIZE_OF(current) | ||
104 | 105 | ||
105 | /* This decides where the kernel will search for a free chunk of vm | 106 | /* This decides where the kernel will search for a free chunk of vm |
106 | * space during mmap's. | 107 | * space during mmap's. |