diff options
author | Harvey Harrison <harvey.harrison@gmail.com> | 2008-03-28 17:21:07 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2008-04-01 05:43:09 -0400 |
commit | e48b1b452ff630288c930fd8e0c2d808bc15f7ad (patch) | |
tree | 7ba5f83964a1d965d8b8b6187b39083e1a99dfd2 /arch/powerpc/mm/init_64.c | |
parent | a78bfbfcfaca64e6198f164c43a60afc8a50e2c6 (diff) |
[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>
Diffstat (limited to 'arch/powerpc/mm/init_64.c')
-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 abeb0eb79313..5f553991698b 100644 --- a/arch/powerpc/mm/init_64.c +++ b/arch/powerpc/mm/init_64.c | |||
@@ -122,7 +122,7 @@ static int __init setup_kcore(void) | |||
122 | /* GFP_ATOMIC to avoid might_sleep warnings during boot */ | 122 | /* GFP_ATOMIC to avoid might_sleep warnings during boot */ |
123 | kcore_mem = kmalloc(sizeof(struct kcore_list), GFP_ATOMIC); | 123 | kcore_mem = kmalloc(sizeof(struct kcore_list), GFP_ATOMIC); |
124 | if (!kcore_mem) | 124 | if (!kcore_mem) |
125 | panic("%s: kmalloc failed\n", __FUNCTION__); | 125 | panic("%s: kmalloc failed\n", __func__); |
126 | 126 | ||
127 | kclist_add(kcore_mem, __va(base), size); | 127 | kclist_add(kcore_mem, __va(base), size); |
128 | } | 128 | } |