]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-parisc/compat.h
[NETNS][DST]: Add the network namespace pointer in dst_ops
[linux-2.6-omap-h63xx.git] / include / asm-parisc / compat.h
index fe8579023531d5a8e8788eea06c7f672f161fa36..5a85d1b025c810de6e881931ce0ae3a38574216c 100644 (file)
@@ -31,8 +31,10 @@ typedef s32  compat_timer_t;
 
 typedef s32    compat_int_t;
 typedef s32    compat_long_t;
+typedef s64    compat_s64;
 typedef u32    compat_uint_t;
 typedef u32    compat_ulong_t;
+typedef u64    compat_u64;
 
 struct compat_timespec {
        compat_time_t           tv_sec;
@@ -152,7 +154,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)