From 00ea1bdfe3d0758dc42942c5994664c51badf2f8 Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Mon, 9 Mar 2015 17:27:27 +0100 Subject: Remove kernel region pf handlers ; fix forget-to-zero-out bug. --- src/kernel/core/kmalloc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/kernel/core/kmalloc.c') diff --git a/src/kernel/core/kmalloc.c b/src/kernel/core/kmalloc.c index 85e6173..c977e54 100644 --- a/src/kernel/core/kmalloc.c +++ b/src/kernel/core/kmalloc.c @@ -9,7 +9,7 @@ #include static void* page_alloc_fun_for_kmalloc(size_t bytes) { - void* addr = region_alloc(bytes, "Core kernel heap", 0); + void* addr = region_alloc(bytes, "Core kernel heap"); if (addr == 0) return 0; // Map physical memory -- cgit v1.2.3