summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Kernel/init.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Kernel/init.cpp b/Kernel/init.cpp
index b82540966f..cde935f45f 100644
--- a/Kernel/init.cpp
+++ b/Kernel/init.cpp
@@ -355,6 +355,7 @@ void init_stage2(void*)
if (boot_profiling) {
dbgln("Starting full system boot profiling");
+ MutexLocker mutex_locker(Process::current()->big_lock());
auto result = Process::current()->sys$profiling_enable(-1, ~0ull);
VERIFY(!result.is_error());
}