aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86_64/kernel/process.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86_64/kernel/process.c')
-rw-r--r--arch/x86_64/kernel/process.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86_64/kernel/process.c b/arch/x86_64/kernel/process.c
index b19cee6a12e6..e9f35c60f8c6 100644
--- a/arch/x86_64/kernel/process.c
+++ b/arch/x86_64/kernel/process.c
@@ -123,6 +123,7 @@ static void poll_idle (void)
123 : : 123 : :
124 "i" (_TIF_NEED_RESCHED), 124 "i" (_TIF_NEED_RESCHED),
125 "m" (current_thread_info()->flags)); 125 "m" (current_thread_info()->flags));
126 clear_thread_flag(TIF_POLLING_NRFLAG);
126 } else { 127 } else {
127 set_need_resched(); 128 set_need_resched();
128 } 129 }