summaryrefslogtreecommitdiffstats
path: root/arch/openrisc/kernel/idle.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/openrisc/kernel/idle.c')
-rw-r--r--arch/openrisc/kernel/idle.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/openrisc/kernel/idle.c b/arch/openrisc/kernel/idle.c
index d5bc5f813e8..fb6a9bf4000 100644
--- a/arch/openrisc/kernel/idle.c
+++ b/arch/openrisc/kernel/idle.c
@@ -51,7 +51,7 @@ void cpu_idle(void)
/* endless idle loop with no priority at all */
while (1) {
- tick_nohz_stop_sched_tick(1);
+ tick_nohz_idle_enter();
while (!need_resched()) {
check_pgt_cache();
@@ -69,7 +69,7 @@ void cpu_idle(void)
set_thread_flag(TIF_POLLING_NRFLAG);
}
- tick_nohz_restart_sched_tick();
+ tick_nohz_idle_exit();
preempt_enable_no_resched();
schedule();
preempt_disable();