diff options
Diffstat (limited to 'arch/mn10300/kernel/process.c')
-rw-r--r-- | arch/mn10300/kernel/process.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/mn10300/kernel/process.c b/arch/mn10300/kernel/process.c index 28eec3102535..cac401d37f75 100644 --- a/arch/mn10300/kernel/process.c +++ b/arch/mn10300/kernel/process.c | |||
@@ -123,9 +123,7 @@ void cpu_idle(void) | |||
123 | idle(); | 123 | idle(); |
124 | } | 124 | } |
125 | 125 | ||
126 | preempt_enable_no_resched(); | 126 | schedule_preempt_disabled(); |
127 | schedule(); | ||
128 | preempt_disable(); | ||
129 | } | 127 | } |
130 | } | 128 | } |
131 | 129 | ||