summaryrefslogtreecommitdiff
path: root/arch/i386/kernel/kmalloc.c
diff options
context:
space:
mode:
authorDanny Holman <dholman@gymli.org>2024-05-29 00:26:59 -0500
committerDanny Holman <dholman@gymli.org>2024-05-29 00:26:59 -0500
commitffc782f8740027d21793c37c6094ebed06d1dfd2 (patch)
treefadd5544ed493d9935d6c4052a442f70c17030fd /arch/i386/kernel/kmalloc.c
parent5fb0ba537ab15f9c83afd9a939cf57c84d443856 (diff)
arch: i386: fix several bugs in paging subsystem
Fix several triple-faulting bugs in the paging initialization routines. These include causing a page fault during physical memory manager initialization, causing a page fault during paging initialization and other double-faulting and triple-faulting bugs. Signed-off-by: Danny Holman <dholman@gymli.org>
Diffstat (limited to 'arch/i386/kernel/kmalloc.c')
-rw-r--r--arch/i386/kernel/kmalloc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/i386/kernel/kmalloc.c b/arch/i386/kernel/kmalloc.c
index 183545a..8118ecd 100644
--- a/arch/i386/kernel/kmalloc.c
+++ b/arch/i386/kernel/kmalloc.c
@@ -1,8 +1,7 @@
-#include <kernel/kmalloc.h>
+#include <libk/kmalloc.h>
#include <kernel/paging.h>
#include <kernel/pmem.h>
#include <kernel/asm.h>
-#include <kernel/errno.h>
#include <kernel/panic.h>
#include <stdint.h>