summaryrefslogtreecommitdiff
path: root/sys/arch/amd64/amd64/hpet.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/amd64/amd64/hpet.c')
-rw-r--r--sys/arch/amd64/amd64/hpet.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/arch/amd64/amd64/hpet.c b/sys/arch/amd64/amd64/hpet.c
index 3b0ca46..9191bee 100644
--- a/sys/arch/amd64/amd64/hpet.c
+++ b/sys/arch/amd64/amd64/hpet.c
@@ -197,6 +197,7 @@ hpet_init(void)
timer.get_time_usec = hpet_time_usec;
timer.get_time_nsec = hpet_time_nsec;
timer.get_time_sec = hpet_time_sec;
+ timer.flags = TIMER_MONOTONIC;
register_timer(TIMER_GP, &timer);
return 0;
}