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