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

Commit 42dd9451 authored by Sami Tolvanen's avatar Sami Tolvanen Committed by Jeevan Shriram
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
Signed-off-by: default avatarSami Tolvanen <samitolvanen@google.com>
Git-commit: e467b8c7
Git-repo: https://android.googlesource.com/kernel/common


[jshriram@codeaurora.org: cherry-pick]
Signed-off-by: default avatarJeevan Shriram <jshriram@codeaurora.org>
parent f5090438
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