diff options
author | Richard Braun <rbraun@sceen.net> | 2014-12-10 23:00:12 +0100 |
---|---|---|
committer | Richard Braun <rbraun@sceen.net> | 2014-12-10 23:16:47 +0100 |
commit | fbf48c1c028b9a7ba81ceb2bb86941752539ed20 (patch) | |
tree | ed7f3e75f8cf70cd488f8ccd6da08ddc02980c64 /kern/task.c | |
parent | 9ee711bf0a4f14ffeee4131f7f8040f943364d98 (diff) |
kern/task: update call to kmem_cache_init
Diffstat (limited to 'kern/task.c')
-rw-r--r-- | kern/task.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/kern/task.c b/kern/task.c index bb425901..ede16831 100644 --- a/kern/task.c +++ b/kern/task.c @@ -57,8 +57,7 @@ task_init(struct task *task, const char *name, struct vm_map *map) void __init task_setup(void) { - kmem_cache_init(&task_cache, "task", sizeof(struct task), - 0, NULL, NULL, NULL, 0); + kmem_cache_init(&task_cache, "task", sizeof(struct task), 0, NULL, 0); list_init(&task_list); spinlock_init(&task_list_lock); task_init(kernel_task, "x15", kernel_map); |