]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - include/asm-parisc/compat.h
Merge master.kernel.org:/pub/scm/linux/kernel/git/herbert/crypto-2.6
[karo-tx-linux.git] / include / asm-parisc / compat.h
index fe8579023531d5a8e8788eea06c7f672f161fa36..11f4222597a067c1f9c41b60b222078d0bf4dfc9 100644 (file)
@@ -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)