Page MenuHomeFreeBSD

D33014.diff
No OneTemporary

D33014.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
Sat, Aug 22, 2:11 PM (3 m, 43 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
37087853
Default Alt Text
D33014.diff (526 B)

Event Timeline