Skip to content

Commit 6ebbe7a

Browse files
sim-Ingo Molnar
authored andcommitted
sched: Fix up wchan borkage
Commit c259e01 ("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: Simon Kirby <sim@hostway.ca> Cc: stable@kernel.org # 2.6.39+ Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl> Link: http://lkml.kernel.org/r/20110923000346.GA25425@hostway.ca Signed-off-by: Ingo Molnar <mingo@elte.hu>
1 parent 3be209a commit 6ebbe7a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎kernel/sched.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4372,7 +4372,7 @@ static inline void sched_submit_work(struct task_struct *tsk)
43724372
blk_schedule_flush_plug(tsk);
43734373
}
43744374

4375-
asmlinkage void schedule(void)
4375+
asmlinkage void __sched schedule(void)
43764376
{
43774377
struct task_struct *tsk = current;
43784378

0 commit comments

Comments
 (0)