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) --- kern/lock_mon.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'kern/lock_mon.c') diff --git a/kern/lock_mon.c b/kern/lock_mon.c index 4b3ba82e..a963ec05 100644 --- a/kern/lock_mon.c +++ b/kern/lock_mon.c @@ -47,8 +47,8 @@ #include -decl_simple_lock_data(extern , kdb_lock) -decl_simple_lock_data(extern , printf_lock) +def_simple_lock_data(extern , kdb_lock) +def_simple_lock_data(extern , printf_lock) #if NCPUS > 1 && MACH_LOCK_MON -- cgit v1.2.3