1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-24 19:57:41 +00:00

Kernel/aarch64: Fix build after #17842

This commit is contained in:
Daniel Bertalan 2023-05-25 16:40:49 +02:00 committed by Tim Flynn
parent 475bac89e1
commit 906abbdf53
2 changed files with 3 additions and 3 deletions

View file

@ -70,7 +70,7 @@ UNMAP_AFTER_INIT KernelRng::KernelRng()
} else {
// Fallback to TimeManagement as entropy
dmesgln("KernelRng: Using bad entropy source TimeManagement");
auto current_time = static_cast<u64>(TimeManagement::the().now().to_milliseconds());
auto current_time = static_cast<u64>(TimeManagement::now().milliseconds_since_epoch());
for (size_t i = 0; i < pool_count * reseed_threshold; ++i) {
add_random_event(current_time, i % 32);
current_time *= 0x574au;