aboutsummaryrefslogtreecommitdiffstats
path: root/lib/test_bitmap.c
diff options
context:
space:
mode:
authorOfir Bitton <obitton@habana.ai>2021-11-23 15:15:22 +0200
committerOded Gabbay <ogabbay@kernel.org>2021-12-26 14:42:11 +0200
commit42eb2872e0867679c996bb19ee9063e6141fa974 (patch)
tree54f11b2c2a27fa3e0060daf984d7a18a739a93a5 /lib/test_bitmap.c
parenthabanalabs: refactor reset information variables (diff)
downloadlinux-dev-42eb2872e0867679c996bb19ee9063e6141fa974.tar.xz
linux-dev-42eb2872e0867679c996bb19ee9063e6141fa974.zip
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 'lib/test_bitmap.c')
0 files changed, 0 insertions, 0 deletions