Page MenuHomeFreeBSD

D33014.id98765.diff
No OneTemporary

D33014.id98765.diff

diff --git a/sys/kern/kern_tc.c b/sys/kern/kern_tc.c
--- a/sys/kern/kern_tc.c
+++ b/sys/kern/kern_tc.c
@@ -99,7 +99,6 @@
/* Mutex to protect the timecounter list. */
static struct mtx tc_lock;
-MTX_SYSINIT(tc_lock, &tc_lock, "tc", MTX_DEF);
int tc_min_ticktock_freq = 1;
@@ -1989,6 +1988,8 @@
TUNABLE_STR_FETCH("kern.timecounter.hardware", tc_from_tunable,
sizeof(tc_from_tunable));
+
+ mtx_init(&tc_lock, "tc", NULL, MTX_DEF);
}
SYSINIT(timehands, SI_SUB_TUNABLES, SI_ORDER_ANY, inittimehands, NULL);

File Metadata

Mime Type
text/plain
Expires
Wed, Aug 19, 6:40 PM (9 h, 10 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
36950888
Default Alt Text
D33014.id98765.diff (526 B)

Event Timeline