diff options
| author | Ido Schimmel <idosch@nvidia.com> | 2021-09-15 13:13:08 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2021-09-15 16:17:15 +0100 |
| commit | bd6e43f5953d39d5cb06041d5ae3e9e5470336ef (patch) | |
| tree | dbc6d8925c0c2d214677634857f94dc4e9c69154 /lib/mpi/mpi-sub-ui.c | |
| parent | 163f3d2dd01cf9b8f58b56fe94ce517e468385a9 (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
