diff options
author | Ian Moffett <ian@osmora.org> | 2024-02-14 11:11:54 -0500 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2024-02-14 11:11:54 -0500 |
commit | 686aa1cf45189cc05d1200e1634eec537ab91ff7 (patch) | |
tree | 7ad26afd5b6670ad2ad95b0184dc69d8e8c4dea2 /sys/firmware/acpi | |
parent | c10de830906f4c819d06a90e906178b1512c4677 (diff) |
kernel/amd64: hpet: HPET is architecture specific
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/firmware/acpi')
-rw-r--r-- | sys/firmware/acpi/acpi_init.c | 9 |
1 files changed, 0 insertions, 9 deletions
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 <sys/cdefs.h> #include <sys/panic.h> #include <sys/syslog.h> -#include <dev/timer/hpet.h> #include <vm/vm.h> __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__) */ } |