mm, slab: make kmalloc_info[] contain all types of names
[linux-2.6-microblaze.git] / mm / slab.h
index b2b0169..8b77f97 100644 (file)
--- a/mm/slab.h
+++ b/mm/slab.h
@@ -139,7 +139,7 @@ extern struct kmem_cache *kmem_cache;
 
 /* A table of kmalloc cache names and sizes */
 extern const struct kmalloc_info_struct {
-       const char *name;
+       const char *name[NR_KMALLOC_TYPES];
        unsigned int size;
 } kmalloc_info[];