diff options
author | Tiezhu Yang <yangtiezhu@loongson.cn> | 2021-02-03 13:27:12 +0800 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2021-02-12 16:33:05 +0100 |
commit | ae3c4761c15d96999d1aab6c57aedc3beb7fa004 (patch) | |
tree | e12b3d8e39e4a789807a7fee3b119c2ad09d765d /arch/parisc | |
parent | 31680c1d1595a59e17c14ec036b192a95f8e5f4a (diff) |
parisc: Replace test_ti_thread_flag() with test_tsk_thread_flag()
Use test_tsk_thread_flag() directly instead of test_ti_thread_flag() to
improve readability when the argument type is struct task_struct, it is
similar with commit 5afc78551bf5 ("arm64: Use test_tsk_thread_flag() for
checking TIF_SINGLESTEP").
Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn>
Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'arch/parisc')
-rw-r--r-- | arch/parisc/include/asm/compat.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/parisc/include/asm/compat.h b/arch/parisc/include/asm/compat.h index 8f33085ff1bd..1a609d38f667 100644 --- a/arch/parisc/include/asm/compat.h +++ b/arch/parisc/include/asm/compat.h @@ -179,7 +179,7 @@ static __inline__ void __user *arch_compat_alloc_user_space(long len) static inline int __is_compat_task(struct task_struct *t) { - return test_ti_thread_flag(task_thread_info(t), TIF_32BIT); + return test_tsk_thread_flag(t, TIF_32BIT); } static inline int is_compat_task(void) |