lockdep: fix internal double unlock during self-test
authorNick Piggin <npiggin@suse.de>
Wed, 16 Jan 2008 08:51:58 +0000 (09:51 +0100)
committerPeter Zijlstra <a.p.zijlstra@chello.nl>
Wed, 16 Jan 2008 08:51:58 +0000 (09:51 +0100)
commit5a26db5bd25cf4bf32ae9fa9f6136b6b6d5b45c5
treee6c3c26bb9b45644aea3adb02f1747a336987e64
parentcbd9c883696da72b2b1f03f909dbacc04bbf8b58
lockdep: fix internal double unlock during self-test
Lockdep, during self-test (when it was simulating double unlocks) was
sometimes unconditionally unlocking a spinlock when it had not been
locked. This won't work for ticket locks.

Signed-off-by: Nick Piggin <npiggin@suse.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
kernel/lockdep.c