]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0fe075adf1ef87cd81121aff9dceadd450db2d75
tree77469d2b1273d960b90520a088bd82bdf0276ee7
parentf683ff6cdba712c7baebe83a7f527c0adf0acabf
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