From 92257f56a32f16795402cdbeb76a8b4f56ea2369 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Wed, 8 Feb 2023 20:17:38 +0100 Subject: slock: Fix initialization of statically-allocated slocks (this is actually a no-op for i386) --- device/kmsg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'device/kmsg.c') diff --git a/device/kmsg.c b/device/kmsg.c index e49eb3d3..4885d7b3 100644 --- a/device/kmsg.c +++ b/device/kmsg.c @@ -44,7 +44,7 @@ static queue_head_t kmsg_read_queue; /* Used for exclusive access to the device */ static boolean_t kmsg_in_use; /* Used for exclusive access to the routines */ -decl_simple_lock_data (static, kmsg_lock); +def_simple_lock_data (static, kmsg_lock); /* If already initialized or not */ static boolean_t kmsg_init_done = FALSE; -- cgit v1.2.3