summaryrefslogtreecommitdiff
path: root/arch/s390
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2011-03-21 12:33:18 +0100
committerClark Williams <williams@redhat.com>2012-02-15 10:32:30 -0600
commitba6d1d8fa324f7ec0372abfd7d5114d7ec4ee1ea (patch)
tree14fbc4f5959d10ba8cb95e99150b6508a29f16d7 /arch/s390
parentb880ce1fcff925e18a884c9c7acd1fcbdcf9d3ee (diff)
sched: Use schedule_preempt_disabled()
Coccinelle based conversion. Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/s390')
-rw-r--r--arch/s390/kernel/process.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/s390/kernel/process.c b/arch/s390/kernel/process.c
index 9451b210a1b4..092b7040c6a5 100644
--- a/arch/s390/kernel/process.c
+++ b/arch/s390/kernel/process.c
@@ -95,9 +95,7 @@ void cpu_idle(void)
while (!need_resched())
default_idle();
tick_nohz_restart_sched_tick();
- preempt_enable_no_resched();
- schedule();
- preempt_disable();
+ schedule_preempt_disabled();
}
}