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/thread.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kernel/l0/thread.c') diff --git a/kernel/l0/thread.c b/kernel/l0/thread.c index b14ad9b..1a67f6c 100644 --- a/kernel/l0/thread.c +++ b/kernel/l0/thread.c @@ -119,7 +119,7 @@ thread_t *new_thread(entry_t entry) { thread_t *t = (thread_t*)kmalloc(sizeof(thread_t)); if (t == 0) return 0; - void* stack = region_alloc(KPROC_STACK_SIZE, REGION_T_KPROC_STACK, 0); + void* stack = region_alloc(KPROC_STACK_SIZE, "Stack", 0); if (stack == 0) { kfree(t); return 0; -- cgit v1.2.3