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/ds_routines.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'device/ds_routines.c') diff --git a/device/ds_routines.c b/device/ds_routines.c index 6d629f69..07ab7b30 100644 --- a/device/ds_routines.c +++ b/device/ds_routines.c @@ -1508,7 +1508,7 @@ ds_no_senders(mach_no_senders_notification_t *notification) } queue_head_t io_done_list; -decl_simple_lock_data(, io_done_list_lock) +def_simple_lock_data(static, io_done_list_lock) #define splio splsched /* XXX must block ALL io devices */ -- cgit v1.2.3