Revert to Fedora kernel-2.6.17-1.2187_FC5 patched with vs2.0.2.1; there are too many...
[linux-2.6.git] / arch / ia64 / kernel / process.c
index ea914cc..355d579 100644 (file)
@@ -9,6 +9,7 @@
  *           Add notify_die() hooks.
  */
 #define __KERNEL_SYSCALLS__    /* see <asm/unistd.h> */
+#include <linux/config.h>
 
 #include <linux/cpu.h>
 #include <linux/pm.h>
@@ -271,9 +272,9 @@ cpu_idle (void)
        /* endless idle loop with no priority at all */
        while (1) {
                if (can_do_pal_halt)
-                       current_thread_info()->status &= ~TS_POLLING;
+                       clear_thread_flag(TIF_POLLING_NRFLAG);
                else
-                       current_thread_info()->status |= TS_POLLING;
+                       set_thread_flag(TIF_POLLING_NRFLAG);
 
                if (!need_resched()) {
                        void (*idle)(void);