diff --git a/Kernel/Arch/aarch64/Dummy.cpp b/Kernel/Arch/aarch64/Dummy.cpp index 3b02fde3637..4fc958f2710 100644 --- a/Kernel/Arch/aarch64/Dummy.cpp +++ b/Kernel/Arch/aarch64/Dummy.cpp @@ -21,6 +21,7 @@ namespace Kernel { READONLY_AFTER_INIT Thread* g_finalizer; +RecursiveSpinlock g_scheduler_lock { LockRank::None }; } @@ -34,6 +35,21 @@ void get_fast_random_bytes(Bytes) } +// Mutex +namespace Kernel { + +void Mutex::lock(Mode, [[maybe_unused]] LockLocation const& location) +{ + VERIFY_NOT_REACHED(); +} + +void Mutex::unlock() +{ + VERIFY_NOT_REACHED(); +} + +} + // Inode namespace Kernel {