diff options
author | Andreas Kling <kling@serenityos.org> | 2022-01-29 13:08:37 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-01-30 16:21:59 +0100 |
commit | 3845c90e08e6734b9e1a37411a5416ce7c473f43 (patch) | |
tree | 158ebc343a1e4615097c127f18b07d104727cdd5 /Kernel/Arch/x86 | |
parent | f469fb47b85591aefa1577e8503c535fadca58c2 (diff) | |
download | serenity-3845c90e08e6734b9e1a37411a5416ce7c473f43.zip |
Kernel: Remove unnecessary includes from Thread.h
...and deal with the fallout by adding missing includes everywhere.
Diffstat (limited to 'Kernel/Arch/x86')
-rw-r--r-- | Kernel/Arch/x86/common/Interrupts.cpp | 3 | ||||
-rw-r--r-- | Kernel/Arch/x86/common/Processor.cpp | 1 | ||||
-rw-r--r-- | Kernel/Arch/x86/i386/Processor.cpp | 1 | ||||
-rw-r--r-- | Kernel/Arch/x86/x86_64/Processor.cpp | 1 |
4 files changed, 5 insertions, 1 deletions
diff --git a/Kernel/Arch/x86/common/Interrupts.cpp b/Kernel/Arch/x86/common/Interrupts.cpp index 417b5dae35..d2af2608f3 100644 --- a/Kernel/Arch/x86/common/Interrupts.cpp +++ b/Kernel/Arch/x86/common/Interrupts.cpp @@ -15,6 +15,7 @@ #include <Kernel/PerformanceManager.h> #include <Kernel/Process.h> #include <Kernel/Random.h> +#include <Kernel/Scheduler.h> #include <Kernel/Sections.h> #include <Kernel/Thread.h> #include <Kernel/ThreadTracer.h> @@ -25,8 +26,8 @@ #include <Kernel/Arch/RegisterState.h> #include <Kernel/Arch/x86/ISRStubs.h> #include <Kernel/Arch/x86/PageFault.h> +#include <Kernel/Arch/x86/SafeMem.h> #include <Kernel/Arch/x86/TrapFrame.h> -#include <Kernel/KSyms.h> extern FlatPtr start_of_unmap_after_init; extern FlatPtr end_of_unmap_after_init; diff --git a/Kernel/Arch/x86/common/Processor.cpp b/Kernel/Arch/x86/common/Processor.cpp index aeb8cd3d44..fe0db59a49 100644 --- a/Kernel/Arch/x86/common/Processor.cpp +++ b/Kernel/Arch/x86/common/Processor.cpp @@ -12,6 +12,7 @@ #include <Kernel/Interrupts/APIC.h> #include <Kernel/Process.h> +#include <Kernel/Scheduler.h> #include <Kernel/Sections.h> #include <Kernel/StdLib.h> #include <Kernel/Thread.h> diff --git a/Kernel/Arch/x86/i386/Processor.cpp b/Kernel/Arch/x86/i386/Processor.cpp index 90554edc42..b748bed21a 100644 --- a/Kernel/Arch/x86/i386/Processor.cpp +++ b/Kernel/Arch/x86/i386/Processor.cpp @@ -9,6 +9,7 @@ #include <Kernel/Arch/x86/TrapFrame.h> #include <Kernel/Process.h> #include <Kernel/Random.h> +#include <Kernel/Scheduler.h> #include <Kernel/Sections.h> #include <Kernel/Thread.h> diff --git a/Kernel/Arch/x86/x86_64/Processor.cpp b/Kernel/Arch/x86/x86_64/Processor.cpp index 38b998581a..08f29cb93a 100644 --- a/Kernel/Arch/x86/x86_64/Processor.cpp +++ b/Kernel/Arch/x86/x86_64/Processor.cpp @@ -10,6 +10,7 @@ #include <Kernel/Panic.h> #include <Kernel/Process.h> #include <Kernel/Random.h> +#include <Kernel/Scheduler.h> #include <Kernel/Sections.h> #include <Kernel/Thread.h> |