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:John Scheible <johnscheible@google.com> (cherry picked from https://android-review.googlesource.com/q/commit:fe2a92df2e8638df5f2a7420b7ab166b7e2b3c40) Merged-In: I5acdf183f8107e18926b4613ace97d9128e3074e Change-Id: I5acdf183f8107e18926b4613ace97d9128e3074e
Loading
Please sign in to comment