diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2011-03-21 12:33:18 +0100 |
---|---|---|
committer | Clark Williams <williams@redhat.com> | 2011-12-28 16:25:21 -0600 |
commit | 5bdfc1992a8c55c57945695315b8f13107956c16 (patch) | |
tree | a330458ea9297ed5fedf29284fd2c3e1161e81ed /arch/sh | |
parent | 1e285634f992a2731dcaaa798784778a31aecf47 (diff) |
sched: Use schedule_preempt_disabled()
Coccinelle based conversion.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/sh')
-rw-r--r-- | arch/sh/kernel/idle.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/sh/kernel/idle.c b/arch/sh/kernel/idle.c index db4ecd731a00..b7c18f0899c9 100644 --- a/arch/sh/kernel/idle.c +++ b/arch/sh/kernel/idle.c @@ -112,9 +112,7 @@ void cpu_idle(void) } tick_nohz_restart_sched_tick(); - preempt_enable_no_resched(); - schedule(); - preempt_disable(); + schedule_preempt_disabled(); } } |