summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_clock.c
diff options
context:
space:
mode:
authorattilio <attilio@FreeBSD.org>2013-03-04 13:14:59 +0000
committerattilio <attilio@FreeBSD.org>2013-03-04 13:14:59 +0000
commit1be810ec7308568f15799ceb7f6ad7162994537c (patch)
treefb5f2f94d7ff72f1714d3bbeff57da4a8fff44e6 /sys/kern/kern_clock.c
parentdf5bf2af9de4e98baa790d9a97d7617ce5baab8f (diff)
parente5bdd2f06e53c260f9b92776f7f3b1fe5c140dae (diff)
downloadFreeBSD-src-1be810ec7308568f15799ceb7f6ad7162994537c.zip
FreeBSD-src-1be810ec7308568f15799ceb7f6ad7162994537c.tar.gz
MFC
Diffstat (limited to 'sys/kern/kern_clock.c')
-rw-r--r--sys/kern/kern_clock.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/kern/kern_clock.c b/sys/kern/kern_clock.c
index 55a2bff..4439ccb 100644
--- a/sys/kern/kern_clock.c
+++ b/sys/kern/kern_clock.c
@@ -460,7 +460,7 @@ hardclock_cpu(int usermode)
if (td->td_intr_frame != NULL)
PMC_SOFT_CALL_TF( , , clock, hard, td->td_intr_frame);
#endif
- callout_tick();
+ callout_process(sbinuptime());
}
/*
@@ -550,7 +550,6 @@ hardclock_cnt(int cnt, int usermode)
if (td->td_intr_frame != NULL)
PMC_SOFT_CALL_TF( , , clock, hard, td->td_intr_frame);
#endif
- callout_tick();
/* We are in charge to handle this tick duty. */
if (newticks > 0) {
/* Dangerous and no need to call these things concurrently. */
OpenPOWER on IntegriCloud