Commit 804d24af 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: 435186199
Bug: 434747237
Signed-off-by: default avatarJohn Scheible <johnscheible@google.com>
(cherry picked from https://android-review.googlesource.com/q/commit:fe2a92df2e8638df5f2a7420b7ab166b7e2b3c40)
Merged-In: I5acdf183f8107e18926b4613ace97d9128e3074e
Change-Id: I5acdf183f8107e18926b4613ace97d9128e3074e
parent 8993b93a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment