aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/mm/init_32.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/mm/init_32.c')
-rw-r--r--arch/powerpc/mm/init_32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/mm/init_32.c b/arch/powerpc/mm/init_32.c
index 59a725b8ece9..0c66a9fe63f5 100644
--- a/arch/powerpc/mm/init_32.c
+++ b/arch/powerpc/mm/init_32.c
@@ -276,7 +276,7 @@ static int __init setup_kcore(void)
276 276
277 kcore_mem = kmalloc(sizeof(struct kcore_list), GFP_ATOMIC); 277 kcore_mem = kmalloc(sizeof(struct kcore_list), GFP_ATOMIC);
278 if (!kcore_mem) 278 if (!kcore_mem)
279 panic("%s: kmalloc failed\n", __FUNCTION__); 279 panic("%s: kmalloc failed\n", __func__);
280 280
281 /* must stay under 32 bits */ 281 /* must stay under 32 bits */
282 if ( 0xfffffffful - (unsigned long)__va(base) < size) { 282 if ( 0xfffffffful - (unsigned long)__va(base) < size) {