diff options
Diffstat (limited to 'arch/cris')
-rw-r--r-- | arch/cris/kernel/process.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/cris/kernel/process.c b/arch/cris/kernel/process.c index aa585e4e979e..d8f50ff6fadd 100644 --- a/arch/cris/kernel/process.c +++ b/arch/cris/kernel/process.c | |||
@@ -115,9 +115,7 @@ void cpu_idle (void) | |||
115 | idle = default_idle; | 115 | idle = default_idle; |
116 | idle(); | 116 | idle(); |
117 | } | 117 | } |
118 | preempt_enable_no_resched(); | 118 | schedule_preempt_disabled(); |
119 | schedule(); | ||
120 | preempt_disable(); | ||
121 | } | 119 | } |
122 | } | 120 | } |
123 | 121 | ||