Commit 43172c1b authored by John Scheible's avatar John Scheible Committed by Suren Baghdasaryan
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
Bug: 435768786
Signed-off-by: default avatarJohn Scheible <johnscheible@google.com>
(cherry picked from https://android-review.googlesource.com/q/commit:4a6a5e5dbb491aa7bbb12ab0b4cff08ac7c8b89a)
Merged-In: I5acdf183f8107e18926b4613ace97d9128e3074e
Change-Id: I5acdf183f8107e18926b4613ace97d9128e3074e
parent c94052ed
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment