diff options
| author | Ofir Bitton <obitton@habana.ai> | 2021-11-23 15:15:22 +0200 |
|---|---|---|
| committer | Oded Gabbay <ogabbay@kernel.org> | 2021-12-26 14:42:11 +0200 |
| commit | 42eb2872e0867679c996bb19ee9063e6141fa974 (patch) | |
| tree | 54f11b2c2a27fa3e0060daf984d7a18a739a93a5 /net/lapb/lapb_subr.c | |
| parent | eb135291912f7554e2a2472befc44818098baa8d (diff) | |
habanalabs: add a lock to protect multiple reset variables
Atomic operations during reset are replaced by a spinlock in order
to have the ability to protect more than a single variable.
Signed-off-by: Ofir Bitton <obitton@habana.ai>
Reviewed-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions
