slab: Common function to create the kmalloc array
[linux-2.6-block.git] / mm / slab.h
index 34a98d642196f5e57e2bc2a1d94f7333b3ab7c48..44c0bd6dc19e2cc43f0a89fd5287276fa40b2e1e 100644 (file)
--- a/mm/slab.h
+++ b/mm/slab.h
@@ -35,6 +35,12 @@ extern struct kmem_cache *kmem_cache;
 unsigned long calculate_alignment(unsigned long flags,
                unsigned long align, unsigned long size);
 
+#ifndef CONFIG_SLOB
+/* Kmalloc array related functions */
+void create_kmalloc_caches(unsigned long);
+#endif
+
+
 /* Functions provided by the slab allocators */
 extern int __kmem_cache_create(struct kmem_cache *, unsigned long flags);