Skip to content

Commit

Permalink
[POWERPC] setup_kcore(): Fix incorrect function name in panic() call.
Browse files Browse the repository at this point in the history
Signed-off-by: Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
  • Loading branch information
Geert Uytterhoeven authored and Paul Mackerras committed Dec 4, 2006
1 parent 4687522 commit adaa3a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/powerpc/mm/init_64.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit adaa3a7

Please sign in to comment.