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/machine.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kern/machine.c') diff --git a/kern/machine.c b/kern/machine.c index 7eead810..e8c9912e 100644 --- a/kern/machine.c +++ b/kern/machine.c @@ -68,7 +68,7 @@ struct machine_info machine_info; struct machine_slot machine_slot[NCPUS]; queue_head_t action_queue; /* assign/shutdown queue */ -decl_simple_lock_data(,action_lock); +def_simple_lock_data(,action_lock); /* * cpu_up: -- cgit v1.2.3