diff options
author | Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com> | 2006-11-17 00:21:12 -0500 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2006-12-04 04:39:39 -0500 |
commit | adaa3a796282e2fa3bc48bc57bccd01ce891b8d2 (patch) | |
tree | 9befcf4de7f4fb5377949118748d5882d63479d4 /arch/powerpc/mm | |
parent | 4687522c0dba89f1f71aeb8cf08acc4e1ee87fda (diff) |
[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/powerpc/mm')
-rw-r--r-- | arch/powerpc/mm/init_64.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) | |||
130 | /* GFP_ATOMIC to avoid might_sleep warnings during boot */ | 130 | /* GFP_ATOMIC to avoid might_sleep warnings during boot */ |
131 | kcore_mem = kmalloc(sizeof(struct kcore_list), GFP_ATOMIC); | 131 | kcore_mem = kmalloc(sizeof(struct kcore_list), GFP_ATOMIC); |
132 | if (!kcore_mem) | 132 | if (!kcore_mem) |
133 | panic("mem_init: kmalloc failed\n"); | 133 | panic("%s: kmalloc failed\n", __FUNCTION__); |
134 | 134 | ||
135 | kclist_add(kcore_mem, __va(base), size); | 135 | kclist_add(kcore_mem, __va(base), size); |
136 | } | 136 | } |