From: Geert Uytterhoeven Date: Fri, 17 Nov 2006 05:21:12 +0000 (+0100) Subject: [POWERPC] setup_kcore(): Fix incorrect function name in panic() call. X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=adaa3a796282e2fa3bc48bc57bccd01ce891b8d2;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git [POWERPC] setup_kcore(): Fix incorrect function name in panic() call. Signed-off-by: Geert Uytterhoeven Signed-off-by: Paul Mackerras --- diff --git a/arch/powerpc/mm/init_64.c b/arch/powerpc/mm/init_64.c index 3ff374697e34..9a178549cbcf 100644 --- a/arch/powerpc/mm/init_64.c +++ b/arch/powerpc/mm/init_64.c @@ -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); }