summaryrefslogtreecommitdiff
path: root/arch/c6x/kernel/process.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/c6x/kernel/process.c')
-rw-r--r--arch/c6x/kernel/process.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/c6x/kernel/process.c b/arch/c6x/kernel/process.c
index aa65c879323b..7ca8c41b03cd 100644
--- a/arch/c6x/kernel/process.c
+++ b/arch/c6x/kernel/process.c
@@ -71,7 +71,8 @@ void cpu_idle(void)
{
/* endless idle loop with no priority at all */
while (1) {
- tick_nohz_stop_sched_tick(1);
+ tick_nohz_idle_enter();
+ rcu_idle_enter();
while (1) {
local_irq_disable();
if (need_resched()) {
@@ -80,7 +81,8 @@ void cpu_idle(void)
}
c6x_idle(); /* enables local irqs */
}
- tick_nohz_restart_sched_tick();
+ rcu_idle_exit();
+ tick_nohz_idle_exit();
preempt_enable_no_resched();
schedule();