aboutsummaryrefslogtreecommitdiff
path: root/kern/mach_clock.c
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 /kern/mach_clock.c
parenta9c54f2c7f93127517b725952e67697bd82a7eeb (diff)
downloadgnumach-92257f56a32f16795402cdbeb76a8b4f56ea2369.tar.gz
gnumach-92257f56a32f16795402cdbeb76a8b4f56ea2369.tar.bz2
gnumach-92257f56a32f16795402cdbeb76a8b4f56ea2369.zip
slock: Fix initialization of statically-allocated slocks
(this is actually a no-op for i386)
Diffstat (limited to 'kern/mach_clock.c')
-rw-r--r--kern/mach_clock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kern/mach_clock.c b/kern/mach_clock.c
index 0e3a2cf2..09717d16 100644
--- a/kern/mach_clock.c
+++ b/kern/mach_clock.c
@@ -119,7 +119,7 @@ MACRO_BEGIN \
} while ((time)->seconds != mtime->check_seconds64); \
MACRO_END
-decl_simple_lock_data(, timer_lock) /* lock for ... */
+def_simple_lock_data(static, timer_lock) /* lock for ... */
timer_elt_data_t timer_head; /* ordered list of timeouts */
/* (doubles as end-of-list) */