hc
2024-12-19 9370bb92b2d16684ee45cf24e879c93c509162da
kernel/drivers/crypto/hisilicon/sec/sec_drv.h
....@@ -1,4 +1,4 @@
1
-// SPDX-License-Identifier: GPL-2.0
1
+/* SPDX-License-Identifier: GPL-2.0 */
22 /* Copyright (c) 2016-2017 Hisilicon Limited. */
33
44 #ifndef _SEC_DRV_H_
....@@ -347,7 +347,7 @@
347347 DECLARE_BITMAP(unprocessed, SEC_QUEUE_LEN);
348348 DECLARE_KFIFO_PTR(softqueue, typeof(struct sec_request_el *));
349349 bool havesoftqueue;
350
- struct mutex queuelock;
350
+ spinlock_t queuelock;
351351 void *shadow[SEC_QUEUE_LEN];
352352 };
353353