summaryrefslogtreecommitdiffstats
path: root/include/asm-parisc/compat.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-parisc/compat.h')
-rw-r--r--include/asm-parisc/compat.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-parisc/compat.h b/include/asm-parisc/compat.h
index fe857902353..11f4222597a 100644
--- a/include/asm-parisc/compat.h
+++ b/include/asm-parisc/compat.h
@@ -152,7 +152,7 @@ static __inline__ void __user *compat_alloc_user_space(long len)
static inline int __is_compat_task(struct task_struct *t)
{
- return test_ti_thread_flag(t->thread_info, TIF_32BIT);
+ return test_ti_thread_flag(task_thread_info(t), TIF_32BIT);
}
static inline int is_compat_task(void)