summaryrefslogtreecommitdiff
path: root/sys/kern/kern_clock.c
diff options
context:
space:
mode:
authorThorsten Lockert <tholo@cvs.openbsd.org>1996-02-25 23:00:26 +0000
committerThorsten Lockert <tholo@cvs.openbsd.org>1996-02-25 23:00:26 +0000
commitd9458b4cd30074b84a2c9949cbbf2aaecd954409 (patch)
tree5c336bfa5ba1be4c24eec41eaa5995f970d400e4 /sys/kern/kern_clock.c
parent24388ae1718830fe90f9a0563c6d5ece244d59c2 (diff)
Make it possible for a port to do special time update handling
Diffstat (limited to 'sys/kern/kern_clock.c')
-rw-r--r--sys/kern/kern_clock.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/kern/kern_clock.c b/sys/kern/kern_clock.c
index 5a6bedbb88e..5fb3ad112f2 100644
--- a/sys/kern/kern_clock.c
+++ b/sys/kern/kern_clock.c
@@ -571,7 +571,11 @@ hardclock(frame)
break;
}
}
+#ifdef CPU_CLOCKUPDATE
+ CPU_CLOCKUPDATE(&time, &newtime);
+#else
time = newtime;
+#endif
/*
* Process callouts at a very low cpu priority, so we don't keep the