summaryrefslogtreecommitdiff
path: root/Kernel/Interrupts
diff options
context:
space:
mode:
authorTom <tomut@yahoo.com>2020-10-25 20:10:02 -0600
committerAndreas Kling <kling@serenityos.org>2020-10-26 08:57:25 +0100
commit8c764319adf36df22a5b39de1d271d6de81e6b8f (patch)
tree8ba4f3b279128bb4c2cb77cb9ff28f13d8518417 /Kernel/Interrupts
parentb8ad4932a9951296056ef39c3e967c01cd983fa7 (diff)
downloadserenity-8c764319adf36df22a5b39de1d271d6de81e6b8f.zip
Kernel: Various APIC timer fixes
Diffstat (limited to 'Kernel/Interrupts')
-rw-r--r--Kernel/Interrupts/APIC.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/Kernel/Interrupts/APIC.cpp b/Kernel/Interrupts/APIC.cpp
index 7cd96d14ad..22709f2956 100644
--- a/Kernel/Interrupts/APIC.cpp
+++ b/Kernel/Interrupts/APIC.cpp
@@ -588,7 +588,6 @@ void APIC::setup_local_timer(u32 ticks, TimerMode timer_mode, bool enable)
default:
ASSERT_NOT_REACHED();
}
- config |= 3; // divide by 16
write_register(APIC_REG_TIMER_CONFIGURATION, config);
if (timer_mode == TimerMode::Periodic)