mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 08:44:58 +00:00
Kernel/aarch64: Initialize TimeManagement in init.cpp
Also remove the check for aarch64 in AK/Format.cpp, so now the format functions will prepend the time since boot!
This commit is contained in:
parent
01a14ac7af
commit
c7aa05cdcc
2 changed files with 8 additions and 8 deletions
|
@ -933,10 +933,8 @@ void vdmesgln(StringView fmtstr, TypeErasedFormatParams& params)
|
|||
# ifdef AK_OS_SERENITY
|
||||
struct timespec ts = {};
|
||||
|
||||
# if !ARCH(AARCH64)
|
||||
if (TimeManagement::is_initialized())
|
||||
ts = TimeManagement::the().monotonic_time(TimePrecision::Coarse).to_timespec();
|
||||
# endif
|
||||
|
||||
if (Kernel::Processor::is_initialized() && Kernel::Thread::current()) {
|
||||
auto& thread = *Kernel::Thread::current();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue