summaryrefslogtreecommitdiffstats
path: root/arch/m68k/kernel/process_no.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/m68k/kernel/process_no.c')
-rw-r--r--arch/m68k/kernel/process_no.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/m68k/kernel/process_no.c b/arch/m68k/kernel/process_no.c
index 5e1078cabe0..f7fe6c34859 100644
--- a/arch/m68k/kernel/process_no.c
+++ b/arch/m68k/kernel/process_no.c
@@ -73,9 +73,7 @@ void cpu_idle(void)
/* endless idle loop with no priority at all */
while (1) {
idle();
- preempt_enable_no_resched();
- schedule();
- preempt_disable();
+ schedule_preempt_disabled();
}
}