|
@@ -56,6 +56,8 @@
|
|
#define TASK_SIZE_32 UL(0x100000000)
|
|
#define TASK_SIZE_32 UL(0x100000000)
|
|
#define TASK_SIZE (test_thread_flag(TIF_32BIT) ? \
|
|
#define TASK_SIZE (test_thread_flag(TIF_32BIT) ? \
|
|
TASK_SIZE_32 : TASK_SIZE_64)
|
|
TASK_SIZE_32 : TASK_SIZE_64)
|
|
|
|
+#define TASK_SIZE_OF(tsk) (test_tsk_thread_flag(tsk, TIF_32BIT) ? \
|
|
|
|
+ TASK_SIZE_32 : TASK_SIZE_64)
|
|
#else
|
|
#else
|
|
#define TASK_SIZE TASK_SIZE_64
|
|
#define TASK_SIZE TASK_SIZE_64
|
|
#endif /* CONFIG_COMPAT */
|
|
#endif /* CONFIG_COMPAT */
|