summaryrefslogtreecommitdiff
path: root/ddb
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2023-02-08 20:17:38 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2023-02-08 20:18:16 +0100
commit92257f56a32f16795402cdbeb76a8b4f56ea2369 (patch)
treefa520391b49f4bac7ad77ee065d68e8dcab2d8be /ddb
parenta9c54f2c7f93127517b725952e67697bd82a7eeb (diff)
slock: Fix initialization of statically-allocated slocks
(this is actually a no-op for i386)
Diffstat (limited to 'ddb')
-rw-r--r--ddb/db_mp.c2
1 files changed, 1 insertions, 1 deletions
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