提交 6ebbe7a0 编写于 作者: S Simon Kirby 提交者: 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: NSimon Kirby <sim@hostway.ca>
Cc: stable@kernel.org # 2.6.39+
Signed-off-by: NPeter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/20110923000346.GA25425@hostway.caSigned-off-by: NIngo Molnar <mingo@elte.hu>
上级 3be209a8
......@@ -4372,7 +4372,7 @@ static inline void sched_submit_work(struct task_struct *tsk)
blk_schedule_flush_plug(tsk);
}
asmlinkage void schedule(void)
asmlinkage void __sched schedule(void)
{
struct task_struct *tsk = current;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册