We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 18dbfcd commit 08035a6Copy full SHA for 08035a6
arch/powerpc/include/asm/task_size_64.h
@@ -44,11 +44,7 @@
44
*/
45
#define TASK_SIZE_USER32 (0x0000000100000000UL - (1 * PAGE_SIZE))
46
47
-#define TASK_SIZE_OF(tsk) \
48
- (test_tsk_thread_flag(tsk, TIF_32BIT) ? TASK_SIZE_USER32 : \
49
- TASK_SIZE_USER64)
50
-
51
-#define TASK_SIZE TASK_SIZE_OF(current)
+#define TASK_SIZE (is_32bit_task() ? TASK_SIZE_USER32 : TASK_SIZE_USER64)
52
53
#define TASK_UNMAPPED_BASE_USER32 (PAGE_ALIGN(TASK_SIZE_USER32 / 4))
54
#define TASK_UNMAPPED_BASE_USER64 (PAGE_ALIGN(DEFAULT_MAP_WINDOW_USER64 / 4))
0 commit comments