mm, slab: make kmalloc_info[] contain all types of names
[linux-2.6-microblaze.git] / mm / slab.c
index 66e5d80..66b3310 100644 (file)
--- a/mm/slab.c
+++ b/mm/slab.c
@@ -1247,7 +1247,7 @@ void __init kmem_cache_init(void)
         * structures first.  Without this, further allocations will bug.
         */
        kmalloc_caches[KMALLOC_NORMAL][INDEX_NODE] = create_kmalloc_cache(
-                               kmalloc_info[INDEX_NODE].name,
+                               kmalloc_info[INDEX_NODE].name[KMALLOC_NORMAL],
                                kmalloc_size(INDEX_NODE), ARCH_KMALLOC_FLAGS,
                                0, kmalloc_size(INDEX_NODE));
        slab_state = PARTIAL_NODE;