kernel/drivers/crypto/hisilicon/sec/sec_drv.h
.. .. @@ -1,4 +1,4 @@ 1 -// SPDX-License-Identifier: GPL-2.01 +/* SPDX-License-Identifier: GPL-2.0 */2 2 /* Copyright (c) 2016-2017 Hisilicon Limited. */ 3 3 4 4 #ifndef _SEC_DRV_H_ .. .. @@ -347,7 +347,7 @@ 347 347 DECLARE_BITMAP(unprocessed, SEC_QUEUE_LEN); 348 348 DECLARE_KFIFO_PTR(softqueue, typeof(struct sec_request_el *)); 349 349 bool havesoftqueue; 350 - struct mutex queuelock;350 + spinlock_t queuelock;351 351 void *shadow[SEC_QUEUE_LEN]; 352 352 }; 353 353