diff --git a/Kernel/API/Syscall.h b/Kernel/API/Syscall.h index dec6baa4b50..a7f134eec96 100644 --- a/Kernel/API/Syscall.h +++ b/Kernel/API/Syscall.h @@ -122,7 +122,7 @@ enum class NeedsBigProcessLock { S(listen, NeedsBigProcessLock::No) \ S(lseek, NeedsBigProcessLock::No) \ S(madvise, NeedsBigProcessLock::No) \ - S(map_time_page, NeedsBigProcessLock::Yes) \ + S(map_time_page, NeedsBigProcessLock::No) \ S(mkdir, NeedsBigProcessLock::No) \ S(mknod, NeedsBigProcessLock::No) \ S(mmap, NeedsBigProcessLock::Yes) \ diff --git a/Kernel/Syscalls/clock.cpp b/Kernel/Syscalls/clock.cpp index 8dc4571e71b..b8ab20c97f3 100644 --- a/Kernel/Syscalls/clock.cpp +++ b/Kernel/Syscalls/clock.cpp @@ -12,7 +12,7 @@ namespace Kernel { ErrorOr Process::sys$map_time_page() { - VERIFY_PROCESS_BIG_LOCK_ACQUIRED(this); + VERIFY_NO_PROCESS_BIG_LOCK(this); TRY(require_promise(Pledge::stdio)); auto& vmobject = TimeManagement::the().time_page_vmobject();