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) --- ddb/db_mp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ddb') diff --git a/ddb/db_mp.c b/ddb/db_mp.c index f4e5fa3e..9c7edfdb 100644 --- a/ddb/db_mp.c +++ b/ddb/db_mp.c @@ -48,7 +48,7 @@ * multiprocessors. */ -decl_simple_lock_data(,db_lock) /* lock to enter debugger */ +def_simple_lock_data(static,db_lock) /* lock to enter debugger */ volatile int db_cpu = -1; /* CPU currently in debugger */ /* -1 if none */ int db_active[NCPUS] = { 0 }; /* count recursive entries -- cgit v1.2.3