aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorSimon Kirby <sim@hostway.ca>2011-09-22 20:03:46 -0400
committerIngo Molnar <mingo@elte.hu>2011-09-26 06:51:08 -0400
commit6ebbe7a07b3bc40b168d2afc569a6543c020d2e3 (patch)
tree5fa7eb4d48796af7aede4f7c0b92fde4047deeaa /kernel
parent3be209a8e22cedafc1b6945608b7bb8d9887ab61 (diff)
sched: Fix up wchan borkage
Commit c259e01a1ec ("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>
Diffstat (limited to 'kernel')
-rw-r--r--kernel/sched.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/sched.c b/kernel/sched.c
index ec5f472bc5b9..d249ea88428c 100644
--- a/kernel/sched.c
+++ b/kernel/sched.c
@@ -4372,7 +4372,7 @@ static inline void sched_submit_work(struct task_struct *tsk)
4372 blk_schedule_flush_plug(tsk); 4372 blk_schedule_flush_plug(tsk);
4373} 4373}
4374 4374
4375asmlinkage void schedule(void) 4375asmlinkage void __sched schedule(void)
4376{ 4376{
4377 struct task_struct *tsk = current; 4377 struct task_struct *tsk = current;
4378 4378