summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Gianforcaro <bgianf@serenityos.org>2021-06-09 00:52:31 -0700
committerAndreas Kling <kling@serenityos.org>2021-06-09 10:57:51 +0200
commit83841e47e5416df2d64df9506908b286a4413115 (patch)
tree41c8d98b1bbe968a1c626f71bd9f2dbce0d93b13
parentc8b6bd4b97993b82c077a16543a73e6068431fcf (diff)
downloadserenity-83841e47e5416df2d64df9506908b286a4413115.zip
Kernel: Mark FinalizerTask::spawn() as UNMAP_AFTER_INIT
-rw-r--r--Kernel/Tasks/FinalizerTask.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Tasks/FinalizerTask.cpp b/Kernel/Tasks/FinalizerTask.cpp
index 8679c1fd3f..a66109d9da 100644
--- a/Kernel/Tasks/FinalizerTask.cpp
+++ b/Kernel/Tasks/FinalizerTask.cpp
@@ -20,7 +20,7 @@ static void finalizer_task(void*)
}
};
-void FinalizerTask::spawn()
+UNMAP_AFTER_INIT void FinalizerTask::spawn()
{
RefPtr<Thread> finalizer_thread;
auto finalizer_process = Process::create_kernel_process(finalizer_thread, "FinalizerTask", finalizer_task, nullptr);