mm, sl[aou]b: Extract common code for kmem_cache_create()
[deliverable/linux.git] / include / linux / slab.h
index 0dd2dfa7becadd196849e0d9ff003a7dcd7f9b45..0cb7c7eb0416f5f24e53c018e5b8c8e1f076aeaf 100644 (file)
@@ -130,6 +130,10 @@ int kmem_cache_shrink(struct kmem_cache *);
 void kmem_cache_free(struct kmem_cache *, void *);
 unsigned int kmem_cache_size(struct kmem_cache *);
 
+/* Slab internal function */
+struct kmem_cache *__kmem_cache_create(const char *, size_t, size_t,
+                       unsigned long,
+                       void (*)(void *));
 /*
  * Please use this macro to create slab caches. Simply specify the
  * name of the structure and maybe some flags that are listed above.
This page took 0.025027 seconds and 5 git commands to generate.