summaryrefslogtreecommitdiff
path: root/src/kernel/mem.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/mem.c')
-rw-r--r--src/kernel/mem.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kernel/mem.c b/src/kernel/mem.c
index f383e8b..d002050 100644
--- a/src/kernel/mem.c
+++ b/src/kernel/mem.c
@@ -1,11 +1,11 @@
#include <arch/generic.h>
#include <kernel/mem.h>
-extern void *_kernel_end;
+extern void *_bss_end;
static void *highest_page;
void mem_init() {
- highest_page = &_kernel_end;
+ highest_page = &_bss_end;
}
void *page_alloc(size_t pages) {