summaryrefslogtreecommitdiff
path: root/arch/score
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2011-03-21 12:33:18 +0100
committerClark Williams <williams@redhat.com>2011-12-28 16:25:21 -0600
commit5bdfc1992a8c55c57945695315b8f13107956c16 (patch)
treea330458ea9297ed5fedf29284fd2c3e1161e81ed /arch/score
parent1e285634f992a2731dcaaa798784778a31aecf47 (diff)
sched: Use schedule_preempt_disabled()
Coccinelle based conversion. Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/score')
-rw-r--r--arch/score/kernel/process.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/score/kernel/process.c b/arch/score/kernel/process.c
index 25d08030a883..2707023c7563 100644
--- a/arch/score/kernel/process.c
+++ b/arch/score/kernel/process.c
@@ -53,9 +53,7 @@ void __noreturn cpu_idle(void)
while (!need_resched())
barrier();
- preempt_enable_no_resched();
- schedule();
- preempt_disable();
+ schedule_preempt_disabled();
}
}