diff options
Diffstat (limited to 'arch/frv')
-rw-r--r-- | arch/frv/kernel/process.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/frv/kernel/process.c b/arch/frv/kernel/process.c index 3901df1213c..29cc4978378 100644 --- a/arch/frv/kernel/process.c +++ b/arch/frv/kernel/process.c | |||
@@ -92,9 +92,7 @@ void cpu_idle(void) | |||
92 | idle(); | 92 | idle(); |
93 | } | 93 | } |
94 | 94 | ||
95 | preempt_enable_no_resched(); | 95 | schedule_preempt_disabled(); |
96 | schedule(); | ||
97 | preempt_disable(); | ||
98 | } | 96 | } |
99 | } | 97 | } |
100 | 98 | ||