aboutsummaryrefslogtreecommitdiff
path: root/tools/lib/lockdep/include/liblockdep/rwlock.h
AgeCommit message (Collapse)AuthorFilesLines
2014-07-07tools/liblockdep: Account for bitfield changes in lockdeps lock_acquireS. Lockwood-Childs1-4/+4
Commit fb9edbe984 shortened held_lock->check from a 2-bit field to a 1-bit field. Make liblockdep compatible with the new definition by passing check=1 to lock_acquire() calls, rather than the old value check=2 (which inadvertently disabled checks by overflowing to 0). Without this fix, several of the test cases in liblockdep run_tests.sh were failing. Signed-off-by: S. Lockwood-Childs <[email protected]> Signed-off-by: Sasha Levin <[email protected]>
2013-11-27liblockdep: Add public headers for pthread_rwlock_t implementationSasha Levin1-0/+86
Both pthreads and lockdep support dealing with rwlocks, so here's the liblockdep implementation for those. Signed-off-by: Sasha Levin <[email protected]> Signed-off-by: Peter Zijlstra <[email protected]> Cc: [email protected] Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Ingo Molnar <[email protected]>