summaryrefslogtreecommitdiff
path: root/arch/x86/machine/acpi.c
diff options
context:
space:
mode:
authorRichard Braun <rbraun@sceen.net>2017-08-27 17:11:02 +0200
committerRichard Braun <rbraun@sceen.net>2017-08-27 17:11:02 +0200
commit0917f35f0e22f28d9dd78ff340df9e114e2ba45d (patch)
treeac247476fedeb3d4a9c507b2827142d4aeaff7e3 /arch/x86/machine/acpi.c
parent20aa997e8347d5b37e1b3e39f79ac0b2309b506e (diff)
x86/pit: make the PIT a potential clock source
Diffstat (limited to 'arch/x86/machine/acpi.c')
-rw-r--r--arch/x86/machine/acpi.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/x86/machine/acpi.c b/arch/x86/machine/acpi.c
index 77202267..4ef52e3d 100644
--- a/arch/x86/machine/acpi.c
+++ b/arch/x86/machine/acpi.c
@@ -36,6 +36,7 @@
#include <machine/ioapic.h>
#include <machine/lapic.h>
#include <machine/pic.h>
+#include <machine/pit.h>
#include <machine/types.h>
#include <vm/vm_kmem.h>
@@ -693,9 +694,10 @@ error:
* For the sake of simplicity, it has been decided to ignore legacy
* specifications such as the multiprocessor specification, and use
* ACPI only. If ACPI is unavailable, consider the APIC system to
- * be missing and fall back to using the legacy XT-PIC.
+ * be missing and fall back to using the legacy XT-PIC and PIT.
*/
pic_setup();
+ pit_setup();
return 0;
}