summaryrefslogtreecommitdiff
path: root/kern/kalloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'kern/kalloc.c')
-rw-r--r--kern/kalloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kern/kalloc.c b/kern/kalloc.c
index b24eaa3..4460d59 100644
--- a/kern/kalloc.c
+++ b/kern/kalloc.c
@@ -145,7 +145,7 @@ void kalloc_init()
if (size == MINSIZE) {
first_k_zone = i;
}
- k_zone[i] = zinit(size, k_zone_max[i] * size, size,
+ k_zone[i] = zinit(size, 0, k_zone_max[i] * size, size,
size >= PAGE_SIZE ? ZONE_COLLECTABLE : 0,
k_zone_name[i]);
}