diff options
author | Richard Braun <rbraun@sceen.net> | 2013-06-09 16:33:26 +0200 |
---|---|---|
committer | Justus Winter <4winter@informatik.uni-hamburg.de> | 2015-09-14 14:45:06 +0200 |
commit | ee90a004a1a20a9c12dd45b896bfe8ffff2746a0 (patch) | |
tree | eaea281d5099661c284ca1b533b49ff7102ccff0 /kern/slab.c | |
parent | 5b84077aa5d7f7237552205f8414cf315eb2695e (diff) |
kern/slab: rename constructor type
Diffstat (limited to 'kern/slab.c')
-rw-r--r-- | kern/slab.c | 4 |
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) { |