aboutsummaryrefslogtreecommitdiffstats
path: root/arch/cris/kernel/process.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/cris/kernel/process.c')
-rw-r--r--arch/cris/kernel/process.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/cris/kernel/process.c b/arch/cris/kernel/process.c
index 949a0e40e03c..7c80afb10460 100644
--- a/arch/cris/kernel/process.c
+++ b/arch/cris/kernel/process.c
@@ -218,7 +218,9 @@ void cpu_idle (void)
218 idle = default_idle; 218 idle = default_idle;
219 idle(); 219 idle();
220 } 220 }
221 preempt_enable_no_resched();
221 schedule(); 222 schedule();
223 preempt_disable();
222 } 224 }
223} 225}
224 226