X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=arch%2Fia64%2Fkernel%2Fprocess.c;h=355d57970ba31cf3368aa61e5c32c92b81a85029;hb=9464c7cf61b9433057924c36e6e02f303a00e768;hp=ea914cc6812a0a327cd73802f4b0e2b6beacd42b;hpb=41689045f6a3cbe0550e1d34e9cc20d2e8c432ba;p=linux-2.6.git diff --git a/arch/ia64/kernel/process.c b/arch/ia64/kernel/process.c index ea914cc68..355d57970 100644 --- a/arch/ia64/kernel/process.c +++ b/arch/ia64/kernel/process.c @@ -9,6 +9,7 @@ * Add notify_die() hooks. */ #define __KERNEL_SYSCALLS__ /* see */ +#include #include #include @@ -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);