From 367abcb6571d15ac313cb0d191acbe61db8b38b6 Mon Sep 17 00:00:00 2001 From: Richard Braun Date: Sun, 9 Jun 2013 16:33:26 +0200 Subject: kern/slab: rename constructor type --- kern/slab.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'kern/slab.c') diff --git a/kern/slab.c b/kern/slab.c index 2ab64fe..ca8b44a 100644 --- a/kern/slab.c +++ b/kern/slab.c @@ -539,7 +539,7 @@ static inline void kmem_cpu_pool_push(struct kmem_cpu_pool *cpu_pool, void *obj) static int kmem_cpu_pool_fill(struct kmem_cpu_pool *cpu_pool, struct kmem_cache *cache) { - kmem_cache_ctor_t ctor; + kmem_ctor_fn_t ctor; void *buf; int i; @@ -691,7 +691,7 @@ static void kmem_cache_compute_sizes(struct kmem_cache *cache, int flags) } void kmem_cache_init(struct kmem_cache *cache, const char *name, - size_t obj_size, size_t align, kmem_cache_ctor_t ctor, + size_t obj_size, size_t align, kmem_ctor_fn_t ctor, kmem_slab_alloc_fn_t slab_alloc_fn, kmem_slab_free_fn_t slab_free_fn, int flags) { -- cgit v1.2.3