From: S. Lockwood-Childs Date: Mon, 7 Jul 2014 07:17:33 +0000 (-0700) Subject: tools/liblockdep: Account for bitfield changes in lockdeps lock_acquire X-Git-Tag: omap-for-v3.17/fixes-against-rc2~262^2^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b10827814e9c81c5a14fb73c5a6e06bd85df3f94;p=pandora-kernel.git 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 Signed-off-by: Sasha Levin --- Reading git-diff-tree failed