aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorGeert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>2006-11-17 06:21:12 +0100
committerPaul Mackerras <paulus@samba.org>2006-12-04 20:39:39 +1100
commitadaa3a796282e2fa3bc48bc57bccd01ce891b8d2 (patch)
tree9befcf4de7f4fb5377949118748d5882d63479d4 /arch
parent4687522c0dba89f1f71aeb8cf08acc4e1ee87fda (diff)
downloadkernel_samsung_espresso10-adaa3a796282e2fa3bc48bc57bccd01ce891b8d2.zip
kernel_samsung_espresso10-adaa3a796282e2fa3bc48bc57bccd01ce891b8d2.tar.gz
kernel_samsung_espresso10-adaa3a796282e2fa3bc48bc57bccd01ce891b8d2.tar.bz2
[POWERPC] setup_kcore(): Fix incorrect function name in panic() call.
Signed-off-by: Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/powerpc/mm/init_64.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/mm/init_64.c b/arch/powerpc/mm/init_64.c
index 3ff3746..9a17854 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);
}