]> git.karo-electronics.de Git - linux-beck.git/blobdiff - arch/powerpc/include/asm/thread_info.h
Merge commit 'jwb/next' into next
[linux-beck.git] / arch / powerpc / include / asm / thread_info.h
index e04286f92f614e50adb1560f45d4a1dfdb2dc614..9aba5a38a7c4f32a011c6af5c3bd22e28e88d8a6 100644 (file)
@@ -156,6 +156,13 @@ static inline void set_restore_sigmask(void)
        ti->local_flags |= _TLF_RESTORE_SIGMASK;
        set_bit(TIF_SIGPENDING, &ti->flags);
 }
+
+#ifdef CONFIG_PPC64
+#define is_32bit_task()        (test_thread_flag(TIF_32BIT))
+#else
+#define is_32bit_task()        (1)
+#endif
+
 #endif /* !__ASSEMBLY__ */
 
 #endif /* __KERNEL__ */