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/boot/libfdt-wrapper.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/boot/libfdt-wrapper.c')
-rw-r--r-- | arch/powerpc/boot/libfdt-wrapper.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/boot/libfdt-wrapper.c b/arch/powerpc/boot/libfdt-wrapper.c index 59016bef1391..c541fd8a95d4 100644 --- a/arch/powerpc/boot/libfdt-wrapper.c +++ b/arch/powerpc/boot/libfdt-wrapper.c | |||
@@ -35,7 +35,7 @@ | |||
35 | #define check_err(err) \ | 35 | #define check_err(err) \ |
36 | ({ \ | 36 | ({ \ |
37 | if (BAD_ERROR(err) || ((err < 0) && DEBUG)) \ | 37 | if (BAD_ERROR(err) || ((err < 0) && DEBUG)) \ |
38 | printf("%s():%d %s\n\r", __FUNCTION__, __LINE__, \ | 38 | printf("%s():%d %s\n\r", __func__, __LINE__, \ |
39 | fdt_strerror(err)); \ | 39 | fdt_strerror(err)); \ |
40 | if (BAD_ERROR(err)) \ | 40 | if (BAD_ERROR(err)) \ |
41 | exit(); \ | 41 | exit(); \ |