wrap access to thread_info
[safe/jmp/linux-2.6] / include / asm-ia64 / thread_info.h
index 9169859..d281475 100644 (file)
@@ -110,6 +110,6 @@ struct thread_info {
 
 #define TS_POLLING             1       /* true if in idle loop and not sleeping */
 
-#define tsk_is_polling(t) ((t)->thread_info->status & TS_POLLING)
+#define tsk_is_polling(t) (task_thread_info(t)->status & TS_POLLING)
 
 #endif /* _ASM_IA64_THREAD_INFO_H */