[PATCH] Fix spinlock owner debugging
authorIngo Molnar <mingo@elte.hu>
Tue, 13 Sep 2005 09:17:59 +0000 (11:17 +0200)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 13 Sep 2005 16:59:04 +0000 (09:59 -0700)
commitda04c035039b5288039a5bf2d340866114ae994b
treeb4f75ccaca55c1a65980aada0440c3f096b9b3eb
parent33333373c40633cec8791a284e84e4b116522c8f
[PATCH] Fix spinlock owner debugging

fix up the runqueue lock owner only if we truly did a context-switch
with the runqueue lock held. Impacts ia64, mips, sparc64 and arm.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
kernel/sched.c