aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/core/kmalloc.c
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2015-03-09 17:27:27 +0100
committerAlex Auvolat <alex@adnab.me>2015-03-09 17:27:27 +0100
commit00ea1bdfe3d0758dc42942c5994664c51badf2f8 (patch)
tree8f1ea691be085f303a56de8977b186545481a292 /src/kernel/core/kmalloc.c
parent3341e7a3a184b5bea17f0f678b40bc51c92d72a4 (diff)
downloadkogata-00ea1bdfe3d0758dc42942c5994664c51badf2f8.tar.gz
kogata-00ea1bdfe3d0758dc42942c5994664c51badf2f8.zip
Remove kernel region pf handlers ; fix forget-to-zero-out bug.
Diffstat (limited to 'src/kernel/core/kmalloc.c')
-rw-r--r--src/kernel/core/kmalloc.c2
1 files changed, 1 insertions, 1 deletions
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 <freemem.h>
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