sched: fix sched_info_switch not being called according to documentation
authorDavid Simner <djs203@srcf.ucam.org>
Tue, 29 Apr 2008 09:08:59 +0000 (10:08 +0100)
committerIngo Molnar <mingo@elte.hu>
Mon, 5 May 2008 21:56:18 +0000 (23:56 +0200)
commit673a90a1e05c8127886f7659d1a457169378371f
tree77469d2b1273d960b90520a088bd82bdf0276ee7
parentb328ca182f01c2a04b85e0ee8a410720b104fbcc
sched: fix sched_info_switch not being called according to documentation

http://bugzilla.kernel.org/show_bug.cgi?id=10545

sched_stats.h says that __sched_info_switch is "called when prev !=
next" in the comment.  sched.c should therefore do that.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/sched.c