diff options
-rw-r--r-- | arch/x86/kernel/process_64.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/kernel/process_64.c b/arch/x86/kernel/process_64.c index 40fed477f3e..2c9e59448f4 100644 --- a/arch/x86/kernel/process_64.c +++ b/arch/x86/kernel/process_64.c @@ -126,8 +126,8 @@ static void default_idle(void) t1 = ktime_get(); t1n = ktime_to_ns(t1); sched_clock_idle_wakeup_event(t1n - t0n); - } else - local_irq_enable(); + } + local_irq_enable(); current_thread_info()->status |= TS_POLLING; } |