Commit 6ebbe7a0 authored by Simon Kirby's avatar Simon Kirby Committed by Ingo Molnar

sched: Fix up wchan borkage

Commit c259e01a ("sched: Separate the scheduler entry for
preemption") contained a boo-boo wrecking wchan output. It forgot to
put the new schedule() function in the __sched section and thereby
doesn't get properly ignored for things like wchan.
Tested-by: default avatarSimon Kirby <sim@hostway.ca>
Cc: stable@kernel.org # 2.6.39+
Signed-off-by: default avatarPeter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/20110923000346.GA25425@hostway.caSigned-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent 3be209a8
...@@ -4372,7 +4372,7 @@ static inline void sched_submit_work(struct task_struct *tsk) ...@@ -4372,7 +4372,7 @@ static inline void sched_submit_work(struct task_struct *tsk)
blk_schedule_flush_plug(tsk); blk_schedule_flush_plug(tsk);
} }
asmlinkage void schedule(void) asmlinkage void __sched schedule(void)
{ {
struct task_struct *tsk = current; struct task_struct *tsk = current;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment