X-Git-Url: http://pilppa.org/gitweb/?a=blobdiff_plain;f=include%2Fasm-parisc%2Fcompat.h;h=fe8579023531d5a8e8788eea06c7f672f161fa36;hb=85f4544fbf02f60993c76f5b92517a87f220472d;hp=71b4eeea205a1a85eda581179fd97b46eeee0e83;hpb=a3ea84fabacd9cc5bcc3fda67c35e692ca10dc8c;p=linux-2.6-omap-h63xx.git diff --git a/include/asm-parisc/compat.h b/include/asm-parisc/compat.h index 71b4eeea205..fe857902353 100644 --- a/include/asm-parisc/compat.h +++ b/include/asm-parisc/compat.h @@ -5,7 +5,7 @@ */ #include #include -#include +#include #define COMPAT_USER_HZ 100 @@ -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 personality(t->personality) == PER_LINUX32; + return test_ti_thread_flag(t->thread_info, TIF_32BIT); } static inline int is_compat_task(void)