android_kernel_xiaomi_sm8350/tools/lib/lockdep
S. Lockwood-Childs b10827814e tools/liblockdep: Account for bitfield changes in lockdeps lock_acquire
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 <sjl@vctlabs.com>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
2014-07-07 12:20:16 -04:00
..
include/liblockdep tools/liblockdep: Account for bitfield changes in lockdeps lock_acquire 2014-07-07 12:20:16 -04:00
tests liblockdep: Add pthread_rwlock_t test suite 2013-11-27 11:55:24 +01:00
uinclude tools: Consolidate types.h 2014-05-01 21:22:39 +02:00
common.c
lockdep liblockdep: Add the 'lockdep' user-space utility 2013-11-27 11:56:25 +01:00
lockdep_internals.h
lockdep_states.h
lockdep.c
Makefile Merge branch 'perf-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip into next 2014-06-03 13:18:00 -07:00
preload.c tools/liblockdep: Account for bitfield changes in lockdeps lock_acquire 2014-07-07 12:20:16 -04:00
rbtree.c
run_tests.sh tools/liblockdep: Mark runtests.sh as executable 2014-02-26 21:21:59 -05:00