[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>
This commit is contained in:
Родитель
4687522c0d
Коммит
adaa3a7962
|
@ -130,7 +130,7 @@ static int __init setup_kcore(void)
|
||||||
/* GFP_ATOMIC to avoid might_sleep warnings during boot */
|
/* GFP_ATOMIC to avoid might_sleep warnings during boot */
|
||||||
kcore_mem = kmalloc(sizeof(struct kcore_list), GFP_ATOMIC);
|
kcore_mem = kmalloc(sizeof(struct kcore_list), GFP_ATOMIC);
|
||||||
if (!kcore_mem)
|
if (!kcore_mem)
|
||||||
panic("mem_init: kmalloc failed\n");
|
panic("%s: kmalloc failed\n", __FUNCTION__);
|
||||||
|
|
||||||
kclist_add(kcore_mem, __va(base), size);
|
kclist_add(kcore_mem, __va(base), size);
|
||||||
}
|
}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче