summaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-sub-ui.c
diff options
context:
space:
mode:
authorIdo Schimmel <idosch@nvidia.com>2021-09-15 13:13:08 +0300
committerDavid S. Miller <davem@davemloft.net>2021-09-15 16:17:15 +0100
commitbd6e43f5953d39d5cb06041d5ae3e9e5470336ef (patch)
treedbc6d8925c0c2d214677634857f94dc4e9c69154 /lib/mpi/mpi-sub-ui.c
parent163f3d2dd01cf9b8f58b56fe94ce517e468385a9 (diff)
mlxsw: core_env: Convert 'module_info_lock' to a mutex
After the previous patch, the lock is always taken in process context so it can be converted to a mutex. It is needed for future changes where we will need to be able to sleep when holding the lock. Convert the lock to a mutex. Signed-off-by: Ido Schimmel <idosch@nvidia.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions