summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_tc.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2002-04-27 07:06:52 +0000
committerphk <phk@FreeBSD.org>2002-04-27 07:06:52 +0000
commit521d4c87b6f38f65381ee7f9dacf9a7f4fa4d937 (patch)
treedd7092782acd59767e00e681bce07774e69c4ec9 /sys/kern/kern_tc.c
parent6f9b0f198fc0300f09fde3d1c67486343dc92fe4 (diff)
downloadFreeBSD-src-521d4c87b6f38f65381ee7f9dacf9a7f4fa4d937.zip
FreeBSD-src-521d4c87b6f38f65381ee7f9dacf9a7f4fa4d937.tar.gz
Make the dummy timecounter actually tick or we will never get anyhere.
Diffstat (limited to 'sys/kern/kern_tc.c')
-rw-r--r--sys/kern/kern_tc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/kern_tc.c b/sys/kern/kern_tc.c
index e441159..969393c 100644
--- a/sys/kern/kern_tc.c
+++ b/sys/kern/kern_tc.c
@@ -67,7 +67,7 @@ static struct timehands th3 = { NULL, 0, 0, 0, {0, 0}, {0, 0}, {0, 0}, 1, &th4};
static struct timehands th2 = { NULL, 0, 0, 0, {0, 0}, {0, 0}, {0, 0}, 1, &th3};
static struct timehands th1 = { NULL, 0, 0, 0, {0, 0}, {0, 0}, {0, 0}, 1, &th2};
static struct timehands th0 =
- { &dummy_timecounter, 0, 0, 0, {0, 0}, {0, 0}, {0, 0}, 1, &th1};
+ { &dummy_timecounter, 0, 18446744073709ULL, 0, {1, 0}, {0, 0}, {0, 0}, 1, &th1};
static struct timehands *volatile timehands = &th0;
struct timecounter *timecounter = &dummy_timecounter;
OpenPOWER on IntegriCloud