diff --git a/mem/slab.c b/mem/slab.c index 424c118..963b73f 100644 --- a/mem/slab.c +++ b/mem/slab.c @@ -12,7 +12,7 @@ static slab_t *slab_cache[ARRAY_SIZE(slab_sizes)]; static size_t dma_sizes[] = { 0x1000, 0x10000, 0x100000 }; static slab_t *slab_cache_dma[ARRAY_SIZE(slab_sizes)]; -static struct rbtree kmalloc_tree = { NULL }; +static struct rbtree kmalloc_tree = { NULL, 0 }; static inline void slab_range(slab_t *slab, uintptr_t *o_start, uintptr_t *o_end) {