slab: Add an arena pointer to the interface
[akaros.git] / kern / src / mm.c
index 0bef158..45f4839 100644 (file)
@@ -43,8 +43,10 @@ static struct page_map *file2pm(struct file *file)
 
 void vmr_init(void)
 {
-       vmr_kcache = kmem_cache_create("vm_regions", sizeof(struct vm_region),
-                                      __alignof__(struct dentry), 0, 0, 0);
+       vmr_kcache = kmem_cache_create("vm_regions",
+                                      sizeof(struct vm_region),
+                                      __alignof__(struct dentry), 0, NULL,
+                                      0, 0);
 }
 
 /* For now, the caller will set the prot, flags, file, and offset.  In the