Skip to content

Commit c4538d0

Browse files
guoren83hcahca
authored andcommitted
s390: remove unused TASK_SIZE_OF
This macro isn't used in Linux sched, now. Delete in include/linux/sched.h and arch's include/asm. Signed-off-by: Guo Ren <guoren@linux.alibaba.com> Signed-off-by: Guo Ren <guoren@kernel.org> Reviewed-by: Arnd Bergmann <arnd@arndb.de> Link: https://lore.kernel.org/r/20211228064730.2882351-6-guoren@kernel.org Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
1 parent a0e45d4 commit c4538d0

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

arch/s390/include/asm/processor.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,11 +88,10 @@ extern void __bpon(void);
8888
* User space process size: 2GB for 31 bit, 4TB or 8PT for 64 bit.
8989
*/
9090

91-
#define TASK_SIZE_OF(tsk) (test_tsk_thread_flag(tsk, TIF_31BIT) ? \
91+
#define TASK_SIZE (test_thread_flag(TIF_31BIT) ? \
9292
_REGION3_SIZE : TASK_SIZE_MAX)
9393
#define TASK_UNMAPPED_BASE (test_thread_flag(TIF_31BIT) ? \
9494
(_REGION3_SIZE >> 1) : (_REGION2_SIZE >> 1))
95-
#define TASK_SIZE TASK_SIZE_OF(current)
9695
#define TASK_SIZE_MAX (-PAGE_SIZE)
9796

9897
#define STACK_TOP (test_thread_flag(TIF_31BIT) ? \

0 commit comments

Comments
 (0)