Commit 705e6896 authored by Vikram Mulukutla's avatar Vikram Mulukutla
Browse files

msm: subsystem_restart: Convert subsystem_list_lock to a spinlock.



Use a spinlock instead of a mutex for subsystem_list_lock,
since this lock may be required in both interrupt and
pre-emptive context. A small list is traversed when this
lock is held, and therefore the penalty of holding this
lock is minimal.

Change-Id: I886747dc77d539c4d572e832fd676314f8e66b9f
Signed-off-by: default avatarVikram Mulukutla <markivx@codeaurora.org>
parent f066380a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment