diff options
Diffstat (limited to 'Kernel')
-rw-r--r-- | Kernel/API/Syscall.h | 2 | ||||
-rw-r--r-- | Kernel/Syscalls/clock.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Kernel/API/Syscall.h b/Kernel/API/Syscall.h index f03d876974..f9d6fd6401 100644 --- a/Kernel/API/Syscall.h +++ b/Kernel/API/Syscall.h @@ -157,7 +157,7 @@ enum class NeedsBigProcessLock { S(getrandom, NeedsBigProcessLock::No) \ S(getkeymap, NeedsBigProcessLock::No) \ S(setkeymap, NeedsBigProcessLock::Yes) \ - S(clock_gettime, NeedsBigProcessLock::Yes) \ + S(clock_gettime, NeedsBigProcessLock::No) \ S(clock_settime, NeedsBigProcessLock::Yes) \ S(clock_nanosleep, NeedsBigProcessLock::Yes) \ S(join_thread, NeedsBigProcessLock::Yes) \ diff --git a/Kernel/Syscalls/clock.cpp b/Kernel/Syscalls/clock.cpp index 990447ade2..adb3e89f06 100644 --- a/Kernel/Syscalls/clock.cpp +++ b/Kernel/Syscalls/clock.cpp @@ -12,7 +12,7 @@ namespace Kernel { KResultOr<FlatPtr> Process::sys$clock_gettime(clockid_t clock_id, Userspace<timespec*> user_ts) { - VERIFY_PROCESS_BIG_LOCK_ACQUIRED(this); + VERIFY_NO_PROCESS_BIG_LOCK(this); REQUIRE_PROMISE(stdio); if (!TimeManagement::is_valid_clock_id(clock_id)) |