]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-parisc/compat.h
dmaengine: refactor dmaengine around dma_async_tx_descriptor
[linux-2.6-omap-h63xx.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)