summaryrefslogtreecommitdiff
path: root/Kernel
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-07-13 23:11:06 +0200
committerAndreas Kling <kling@serenityos.org>2021-07-13 23:11:06 +0200
commit424afdd72b9546872a2e72a97f32f9727f388c83 (patch)
tree08bafe91cea7584ed46dd9768c0eb187ac376299 /Kernel
parent0a21d421d922af6e03c2180e80edf496d0686ff1 (diff)
downloadserenity-424afdd72b9546872a2e72a97f32f9727f388c83.zip
Kernel: Remove some unnecessary includes in VM/Physical*
Diffstat (limited to 'Kernel')
-rw-r--r--Kernel/VM/PhysicalPage.h2
-rw-r--r--Kernel/VM/PhysicalRegion.h3
-rw-r--r--Kernel/VM/PhysicalZone.cpp2
-rw-r--r--Kernel/VM/PhysicalZone.h3
4 files changed, 1 insertions, 9 deletions
diff --git a/Kernel/VM/PhysicalPage.h b/Kernel/VM/PhysicalPage.h
index 8daab4d339..2b3cd4eb51 100644
--- a/Kernel/VM/PhysicalPage.h
+++ b/Kernel/VM/PhysicalPage.h
@@ -7,8 +7,6 @@
#pragma once
#include <AK/NonnullRefPtr.h>
-#include <Kernel/Assertions.h>
-#include <Kernel/Heap/SlabAllocator.h>
#include <Kernel/PhysicalAddress.h>
namespace Kernel {
diff --git a/Kernel/VM/PhysicalRegion.h b/Kernel/VM/PhysicalRegion.h
index b0f8450b88..4ec98bb487 100644
--- a/Kernel/VM/PhysicalRegion.h
+++ b/Kernel/VM/PhysicalRegion.h
@@ -6,9 +6,6 @@
#pragma once
-#include <AK/Bitmap.h>
-#include <AK/NonnullOwnPtrVector.h>
-#include <AK/Optional.h>
#include <AK/OwnPtr.h>
#include <Kernel/VM/PhysicalPage.h>
#include <Kernel/VM/PhysicalZone.h>
diff --git a/Kernel/VM/PhysicalZone.cpp b/Kernel/VM/PhysicalZone.cpp
index 89c086bc1c..21c209f52a 100644
--- a/Kernel/VM/PhysicalZone.cpp
+++ b/Kernel/VM/PhysicalZone.cpp
@@ -4,9 +4,9 @@
* SPDX-License-Identifier: BSD-2-Clause
*/
-#include "PhysicalPage.h"
#include <AK/Format.h>
#include <Kernel/VM/MemoryManager.h>
+#include <Kernel/VM/PhysicalPage.h>
#include <Kernel/VM/PhysicalZone.h>
namespace Kernel {
diff --git a/Kernel/VM/PhysicalZone.h b/Kernel/VM/PhysicalZone.h
index 1eb8b74944..6b6a980ba8 100644
--- a/Kernel/VM/PhysicalZone.h
+++ b/Kernel/VM/PhysicalZone.h
@@ -7,10 +7,7 @@
#pragma once
#include <AK/Bitmap.h>
-#include <AK/Forward.h>
#include <AK/IntrusiveList.h>
-#include <AK/Types.h>
-#include <Kernel/Forward.h>
namespace Kernel {