]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-i386/thread_info.h
Merge branch 'omap-fixes' into fixes
[linux-2.6-omap-h63xx.git] / include / asm-i386 / thread_info.h
index bf01d4b342bd40978997695c6298f65b55232c1d..4cb0f91ae64f3dc01e7a945012fe6184be784fd4 100644 (file)
@@ -172,7 +172,7 @@ static inline struct thread_info *current_thread_info(void)
 #define TS_USEDFPU             0x0001  /* FPU was used by this task this quantum (SMP) */
 #define TS_POLLING             0x0002  /* 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 /* __KERNEL__ */