diff --git a/Kernel/Process.cpp b/Kernel/Process.cpp index e3691e9dc27..d1675c2ee81 100644 --- a/Kernel/Process.cpp +++ b/Kernel/Process.cpp @@ -62,11 +62,11 @@ static void create_signal_trampoline(); RecursiveSpinLock g_processes_lock; static Atomic next_pid; -InlineLinkedList* g_processes; -String* g_hostname; -Lock* g_hostname_lock; -HashMap>* g_modules; -Region* g_signal_trampoline_region; +READONLY_AFTER_INIT InlineLinkedList* g_processes; +READONLY_AFTER_INIT String* g_hostname; +READONLY_AFTER_INIT Lock* g_hostname_lock; +READONLY_AFTER_INIT HashMap>* g_modules; +READONLY_AFTER_INIT Region* g_signal_trampoline_region; ProcessID Process::allocate_pid() {