From 686aa1cf45189cc05d1200e1634eec537ab91ff7 Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Wed, 14 Feb 2024 11:11:54 -0500 Subject: kernel/amd64: hpet: HPET is architecture specific Signed-off-by: Ian Moffett --- sys/firmware/acpi/acpi_init.c | 9 --------- 1 file changed, 9 deletions(-) (limited to 'sys/firmware') diff --git a/sys/firmware/acpi/acpi_init.c b/sys/firmware/acpi/acpi_init.c index f267d91..c23506b 100644 --- a/sys/firmware/acpi/acpi_init.c +++ b/sys/firmware/acpi/acpi_init.c @@ -33,7 +33,6 @@ #include #include #include -#include #include __MODULE_NAME("acpi"); @@ -107,12 +106,4 @@ acpi_init(void) panic("Root SDT has an invalid checksum!\n"); } root_sdt_entries = (root_sdt->hdr.length - sizeof(root_sdt->hdr)) / 4; - -#if defined(__x86_64__) - /* Hyra requires HPET on x86_64 */ - if (hpet_init() != 0) - panic("Machine does not support HPET!\n"); -#else - hpet_init(); -#endif /* defined(__x86_64__) */ } -- cgit v1.2.3