cv_init(&lbolt, "lbolt");

This commit is contained in:
ad 2007-11-29 15:41:07 +00:00
parent 881b1b699e
commit 901f9ae9f6

View File

@ -1,4 +1,4 @@
/* $NetBSD: kern_synch.c,v 1.207 2007/11/12 23:11:59 ad Exp $ */
/* $NetBSD: kern_synch.c,v 1.208 2007/11/29 15:41:07 ad Exp $ */
/*-
* Copyright (c) 1999, 2000, 2004, 2006, 2007 The NetBSD Foundation, Inc.
@ -75,7 +75,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: kern_synch.c,v 1.207 2007/11/12 23:11:59 ad Exp $");
__KERNEL_RCSID(0, "$NetBSD: kern_synch.c,v 1.208 2007/11/29 15:41:07 ad Exp $");
#include "opt_kstack.h"
#include "opt_lockdebug.h"
@ -968,6 +968,7 @@ void
sched_init(void)
{
cv_init(&lbolt, "lbolt");
callout_init(&sched_pstats_ch, 0);
callout_setfunc(&sched_pstats_ch, sched_pstats, NULL);
sched_setup();