diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-04-21 12:33:14 +0200 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-04-21 12:33:14 +0200 |
commit | a9d09e9020465e7baf7e727b4e933f25d1ce7aa5 (patch) | |
tree | d3e69b8888b974286111cad44de772f7cde784c3 /Kernel/Scheduler.cpp | |
parent | 84f96c393c6d39908474202f10ea42cc569e0545 (diff) | |
download | serenity-a9d09e9020465e7baf7e727b4e933f25d1ce7aa5.zip |
Kernel: Get rid of the "cool globals" thingy.
This was something I used while debugging with Computron. I haven't needed
it for months, so let's get rid of it. It's trivial to readd if needed.
Diffstat (limited to 'Kernel/Scheduler.cpp')
-rw-r--r-- | Kernel/Scheduler.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/Kernel/Scheduler.cpp b/Kernel/Scheduler.cpp index 52b6cc3965..9b545bdcee 100644 --- a/Kernel/Scheduler.cpp +++ b/Kernel/Scheduler.cpp @@ -321,10 +321,6 @@ bool Scheduler::context_switch(Thread& thread) current = &thread; thread.set_state(Thread::Running); -#ifdef COOL_GLOBALS - g_cool_globals->current_pid = thread.process().pid(); -#endif - if (!thread.selector()) { thread.set_selector(gdt_alloc_entry()); auto& descriptor = get_gdt_entry(thread.selector()); |