summaryrefslogtreecommitdiff
path: root/Kernel/Time
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-03-12 13:51:40 +0100
committerAndreas Kling <kling@serenityos.org>2021-03-12 15:22:34 +0100
commit77b8865538274df0d6d3d6e09f77612852d40715 (patch)
tree6c7bb74873c359672441d57a52f6e2aab27fd450 /Kernel/Time
parentc7160400d7cd29025f783bedbbb5ec9c6210be9c (diff)
downloadserenity-77b8865538274df0d6d3d6e09f77612852d40715.zip
Kernel: Convert klog() => AK::Format in TimeManagement
Diffstat (limited to 'Kernel/Time')
-rw-r--r--Kernel/Time/TimeManagement.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Kernel/Time/TimeManagement.cpp b/Kernel/Time/TimeManagement.cpp
index 2c6336626c..743b0c9669 100644
--- a/Kernel/Time/TimeManagement.cpp
+++ b/Kernel/Time/TimeManagement.cpp
@@ -159,13 +159,13 @@ UNMAP_AFTER_INIT void TimeManagement::initialize(u32 cpu)
// would trigger a deadlock trying to get the s_the instance while
// creating it.
if (auto* apic_timer = APIC::the().initialize_timers(*s_the->m_system_timer)) {
- klog() << "Time: Using APIC timer as system timer";
+ dmesgln("Time: Using APIC timer as system timer");
s_the->set_system_timer(*apic_timer);
}
} else {
VERIFY(s_the.is_initialized());
if (auto* apic_timer = APIC::the().get_timer()) {
- klog() << "Time: Enable APIC timer on CPU #" << cpu;
+ dmesgln("Time: Enable APIC timer on CPU #{}", cpu);
apic_timer->enable_local_timer();
}
}
@@ -198,7 +198,7 @@ UNMAP_AFTER_INIT TimeManagement::TimeManagement()
RTC::initialize();
m_epoch_time.tv_sec += boot_time();
} else {
- klog() << "ACPI: RTC CMOS Not present";
+ dmesgln("ACPI: RTC CMOS Not present");
}
} else {
// We just assume that we can access RTC CMOS, if ACPI isn't usable.