summaryrefslogtreecommitdiff
path: root/Kernel/Memory
diff options
context:
space:
mode:
authorAndrew Kaster <akaster@serenityos.org>2023-01-07 11:14:17 -0700
committerAndrew Kaster <andrewdkaster@gmail.com>2023-01-21 10:43:59 -0700
commitddea37b52113b4cdbb20a7063d2e062bc7ee83c3 (patch)
treeb628d1a985f6188e02c2acb1f3bb4226109c33a3 /Kernel/Memory
parent046c23f567a17758d762a33bdf04bacbfd088f9f (diff)
downloadserenity-ddea37b52113b4cdbb20a7063d2e062bc7ee83c3.zip
Kernel+LibC: Move name length constants to Kernel/API from limits.h
Reduce inclusion of limits.h as much as possible at the same time. This does mean that kmalloc.h is now including Kernel/API/POSIX/limits.h instead of LibC/limits.h, but the scope could be limited a lot more. Basically every file in the kernel includes kmalloc.h, and needs the limits.h include for PAGE_SIZE.
Diffstat (limited to 'Kernel/Memory')
-rw-r--r--Kernel/Memory/VirtualRange.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/Kernel/Memory/VirtualRange.cpp b/Kernel/Memory/VirtualRange.cpp
index 607937f872..eea79f785a 100644
--- a/Kernel/Memory/VirtualRange.cpp
+++ b/Kernel/Memory/VirtualRange.cpp
@@ -8,7 +8,6 @@
#include <AK/Vector.h>
#include <Kernel/Memory/MemoryManager.h>
#include <Kernel/Memory/VirtualRange.h>
-#include <LibC/limits.h>
namespace Kernel::Memory {