aboutsummaryrefslogtreecommitdiff
path: root/kernel/l0/kmalloc.c
diff options
context:
space:
mode:
authorAlex Auvolat <alex.auvolat@ens.fr>2014-12-13 13:10:18 +0100
committerAlex Auvolat <alex.auvolat@ens.fr>2014-12-13 13:10:18 +0100
commit9a494b5b0718eafd89e4bb40dda33b0a4f6ee64f (patch)
tree8c8c70651e74298091c3181d9bdd57a76b0de9bf /kernel/l0/kmalloc.c
parentd24b3806edddbfff587f1cf91a64338e0fadd48f (diff)
downloadkogata-9a494b5b0718eafd89e4bb40dda33b0a4f6ee64f.tar.gz
kogata-9a494b5b0718eafd89e4bb40dda33b0a4f6ee64f.zip
Remove hard-coded region types.
Diffstat (limited to 'kernel/l0/kmalloc.c')
-rw-r--r--kernel/l0/kmalloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/l0/kmalloc.c b/kernel/l0/kmalloc.c
index a4ef8fe..e356ada 100644
--- a/kernel/l0/kmalloc.c
+++ b/kernel/l0/kmalloc.c
@@ -8,7 +8,7 @@
#include <region.h>
static void* page_alloc_fun_for_kmalloc(size_t bytes) {
- void* addr = region_alloc(bytes, REGION_T_CORE_HEAP, default_allocator_pf_handler);
+ void* addr = region_alloc(bytes, "Core kernel heap", default_allocator_pf_handler);
return addr;
}