summaryrefslogtreecommitdiff
path: root/kern/slab.c
diff options
context:
space:
mode:
authorRichard Braun <rbraun@sceen.net>2013-06-09 16:33:26 +0200
committerJustus Winter <4winter@informatik.uni-hamburg.de>2015-08-28 15:48:04 +0200
commit367abcb6571d15ac313cb0d191acbe61db8b38b6 (patch)
tree4207676c18fa304d996da9d42683ba335cf1ba51 /kern/slab.c
parentfcb758c9e7237710fb63ac7c6bc16f5461b138ae (diff)
kern/slab: rename constructor type
Diffstat (limited to 'kern/slab.c')
-rw-r--r--kern/slab.c4
1 files changed, 2 insertions, 2 deletions
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)
{