[PATCH] x86-64: Fix idle=poll
[pandora-kernel.git] / arch / x86_64 / kernel / process.c
index b19cee6..e9f35c6 100644 (file)
@@ -123,6 +123,7 @@ static void poll_idle (void)
                        : :
                        "i" (_TIF_NEED_RESCHED), 
                        "m" (current_thread_info()->flags));
+               clear_thread_flag(TIF_POLLING_NRFLAG);
        } else {
                set_need_resched();
        }