[POWERPC] Replace remaining __FUNCTION__ occurrences
__FUNCTION__ is gcc-specific, use __func__ Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Paul Mackerras <paulus@samba.org>
This commit is contained in:

committed by
Paul Mackerras

parent
a78bfbfcfa
commit
e48b1b452f
@@ -276,7 +276,7 @@ static int __init setup_kcore(void)
|
||||
|
||||
kcore_mem = kmalloc(sizeof(struct kcore_list), GFP_ATOMIC);
|
||||
if (!kcore_mem)
|
||||
panic("%s: kmalloc failed\n", __FUNCTION__);
|
||||
panic("%s: kmalloc failed\n", __func__);
|
||||
|
||||
/* must stay under 32 bits */
|
||||
if ( 0xfffffffful - (unsigned long)__va(base) < size) {
|
||||
|
Reference in New Issue
Block a user