sched: Fix up wchan borkage
authorSimon Kirby <sim@hostway.ca>
Fri, 23 Sep 2011 00:03:46 +0000 (17:03 -0700)
committerIngo Molnar <mingo@elte.hu>
Mon, 26 Sep 2011 10:51:08 +0000 (12:51 +0200)
commit6ebbe7a07b3bc40b168d2afc569a6543c020d2e3
tree5fa7eb4d48796af7aede4f7c0b92fde4047deeaa
parent3be209a8e22cedafc1b6945608b7bb8d9887ab61
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>
kernel/sched.c