forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-12-09 95099d4622f8cb224d94e314c7a8e0df60b13f87
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