diff options
author | Tomer Tayar <ttayar@habana.ai> | 2020-08-02 22:51:31 +0300 |
---|---|---|
committer | Oded Gabbay <ogabbay@kernel.org> | 2020-11-30 10:47:38 +0200 |
commit | f07486745442f6118ede18e2b52ee7be69cde5a4 (patch) | |
tree | 0ae8178439b52b7afa1cd8d29045412687af2d50 /drivers/misc/sgi-xp/xp_main.c | |
parent | 3e438b42a5fbf19e44c6c3e0481ed4b5672d8f42 (diff) |
habanalabs: Modify the cs_cnt of a CB to be atomic
Modify the CS counter of a CB to be atomic, so no locking is required
when it is being modified or read.
Signed-off-by: Tomer Tayar <ttayar@habana.ai>
Reviewed-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
Diffstat (limited to 'drivers/misc/sgi-xp/xp_main.c')
0 files changed, 0 insertions, 0 deletions