Commit fe2a92df authored by John Scheible's avatar John Scheible Committed by Treehugger Robot
Browse files

ANDROID: fix dmabuf accounting lockdep checking



When a local_lock_t is locked, lockdep only accounts the cpu-specific
internal lock as being held. If lockdep_assert_held() is called on the
lock defined with DEFINE_PER_CPU, it will always fail. Instead, the
cpu-specific lock must be passed to the assert.

Bug: 434747237
Change-Id: I5acdf183f8107e18926b4613ace97d9128e3074e
Signed-off-by: default avatarJohn Scheible <johnscheible@google.com>
parent 9ec6dc68
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment