Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e467b8c7 authored by Sami Tolvanen's avatar Sami Tolvanen Committed by Will Deacon
Browse files

ANDROID: scs: fix recursive spinlock in scs_check_usage



Use cmpxchg instead of a spinlock in scs_check_usage() to avoid
deadlocks.

Bug: 157781894
Change-Id: I1701ccaf25fdbd34ce4798c6f93e220b1565fb34
(cherry picked from commit e929fb3f34326c669bff7863da32c90730fa7d72)
Signed-off-by: default avatarSami Tolvanen <samitolvanen@google.com>
parent f829d7f0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment