From 9a494b5b0718eafd89e4bb40dda33b0a4f6ee64f Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Sat, 13 Dec 2014 13:10:18 +0100 Subject: Remove hard-coded region types. --- kernel/l0/kmalloc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kernel/l0/kmalloc.c') 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 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; } -- cgit v1.2.3