summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2024-02-18 10:05:02 -0500
committerIan Moffett <ian@osmora.org>2024-02-18 10:05:02 -0500
commit22fb72c9e3fe6722136a2b8f9e96f68a1876427c (patch)
tree21cd227c64c03eb982e287105cfa0a2febd5f920
parent09bcb3675701460bfab084162537f107dcd3d9b3 (diff)
kernel/amd64: machdep: Init HPET only once
Signed-off-by: Ian Moffett <ian@osmora.org>
-rw-r--r--sys/arch/amd64/amd64/machdep.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/arch/amd64/amd64/machdep.c b/sys/arch/amd64/amd64/machdep.c
index af3918d..6d8648d 100644
--- a/sys/arch/amd64/amd64/machdep.c
+++ b/sys/arch/amd64/amd64/machdep.c
@@ -102,8 +102,6 @@ chips_init(void)
/* Hyra requires HPET on x86_64 */
if (hpet_init() != 0)
panic("Machine does not support HPET!\n");
-
- hpet_init();
}
/*