Browse Source

Kernel: Mark WorkQueue initailzation functions as UNMAP_AFTER_INIT

Brian Gianforcaro 4 years ago
parent
commit
c8b6bd4b97
1 changed files with 2 additions and 2 deletions
  1. 2 2
      Kernel/WorkQueue.cpp

+ 2 - 2
Kernel/WorkQueue.cpp

@@ -13,12 +13,12 @@ namespace Kernel {
 
 
 WorkQueue* g_io_work;
 WorkQueue* g_io_work;
 
 
-void WorkQueue::initialize()
+UNMAP_AFTER_INIT void WorkQueue::initialize()
 {
 {
     g_io_work = new WorkQueue("IO WorkQueue");
     g_io_work = new WorkQueue("IO WorkQueue");
 }
 }
 
 
-WorkQueue::WorkQueue(const char* name)
+UNMAP_AFTER_INIT WorkQueue::WorkQueue(const char* name)
 {
 {
     RefPtr<Thread> thread;
     RefPtr<Thread> thread;
     Process::create_kernel_process(thread, name, [this] {
     Process::create_kernel_process(thread, name, [this] {