s390: remove unused TASK_SIZE_OF
authorGuo Ren <guoren@linux.alibaba.com>
Tue, 28 Dec 2021 06:47:26 +0000 (14:47 +0800)
committerHeiko Carstens <hca@linux.ibm.com>
Wed, 29 Dec 2021 09:33:40 +0000 (10:33 +0100)
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>
arch/s390/include/asm/processor.h

index f54c152bf2bf9a42ca6cbeb2c0c98394124bb0e2..5581b64a423648c0e6aa303facaa84dec9b49b54 100644 (file)
@@ -88,11 +88,10 @@ extern void __bpon(void);
  * User space process size: 2GB for 31 bit, 4TB or 8PT for 64 bit.
  */
 
-#define TASK_SIZE_OF(tsk)      (test_tsk_thread_flag(tsk, TIF_31BIT) ? \
+#define TASK_SIZE              (test_thread_flag(TIF_31BIT) ? \
                                        _REGION3_SIZE : TASK_SIZE_MAX)
 #define TASK_UNMAPPED_BASE     (test_thread_flag(TIF_31BIT) ? \
                                        (_REGION3_SIZE >> 1) : (_REGION2_SIZE >> 1))
-#define TASK_SIZE              TASK_SIZE_OF(current)
 #define TASK_SIZE_MAX          (-PAGE_SIZE)
 
 #define STACK_TOP              (test_thread_flag(TIF_31BIT) ? \