added initialization for tv in resettodr()
This commit is contained in:
parent
2ab2c90883
commit
71c7a235ad
|
@ -1,4 +1,4 @@
|
||||||
/* $NetBSD: clock.c,v 1.72 2005/05/31 00:51:57 christos Exp $ */
|
/* $NetBSD: clock.c,v 1.73 2005/05/31 17:34:35 macallan Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 1992, 1993
|
* Copyright (c) 1992, 1993
|
||||||
|
@ -55,7 +55,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <sys/cdefs.h>
|
#include <sys/cdefs.h>
|
||||||
__KERNEL_RCSID(0, "$NetBSD: clock.c,v 1.72 2005/05/31 00:51:57 christos Exp $");
|
__KERNEL_RCSID(0, "$NetBSD: clock.c,v 1.73 2005/05/31 17:34:35 macallan Exp $");
|
||||||
|
|
||||||
#include "opt_multiprocessor.h"
|
#include "opt_multiprocessor.h"
|
||||||
|
|
||||||
|
@ -920,6 +920,7 @@ resettodr()
|
||||||
if (time.tv_sec == 0)
|
if (time.tv_sec == 0)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
tv = time;
|
||||||
cc_microset_time = time;
|
cc_microset_time = time;
|
||||||
#ifdef MULTIPROCESSOR
|
#ifdef MULTIPROCESSOR
|
||||||
/* XXX broadcast IPI_MICROSET code here */
|
/* XXX broadcast IPI_MICROSET code here */
|
||||||
|
|
Loading…
Reference in New Issue