提交 ae3c4761 编写于 作者: T Tiezhu Yang 提交者: Helge Deller

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 5afc7855 ("arm64: Use test_tsk_thread_flag() for
checking TIF_SINGLESTEP").
Signed-off-by: NTiezhu Yang <yangtiezhu@loongson.cn>
Signed-off-by: NHelge Deller <deller@gmx.de>
上级 31680c1d
...@@ -179,7 +179,7 @@ static __inline__ void __user *arch_compat_alloc_user_space(long len) ...@@ -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) 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) static inline int is_compat_task(void)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册