]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[POWERPC] setup_kcore(): Fix incorrect function name in panic() call.
authorGeert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>
Fri, 17 Nov 2006 05:21:12 +0000 (06:21 +0100)
committerPaul Mackerras <paulus@samba.org>
Mon, 4 Dec 2006 09:39:39 +0000 (20:39 +1100)
Signed-off-by: Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/mm/init_64.c

index 3ff374697e34945f15276ede561035b5aafccb3e..9a178549cbcf327358e40cd6bfb0509fd91296d9 100644 (file)
@@ -130,7 +130,7 @@ static int __init setup_kcore(void)
                /* GFP_ATOMIC to avoid might_sleep warnings during boot */
                kcore_mem = kmalloc(sizeof(struct kcore_list), GFP_ATOMIC);
                if (!kcore_mem)
-                       panic("mem_init: kmalloc failed\n");
+                       panic("%s: kmalloc failed\n", __FUNCTION__);
 
                kclist_add(kcore_mem, __va(base), size);
        }