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/math-emu/fdivs.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/math-emu/fdivs.c')
-rw-r--r-- | arch/powerpc/math-emu/fdivs.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/powerpc/math-emu/fdivs.c b/arch/powerpc/math-emu/fdivs.c index b971196e3175..24feed689c35 100644 --- a/arch/powerpc/math-emu/fdivs.c +++ b/arch/powerpc/math-emu/fdivs.c | |||
@@ -15,7 +15,7 @@ fdivs(void *frD, void *frA, void *frB) | |||
15 | int ret = 0; | 15 | int ret = 0; |
16 | 16 | ||
17 | #ifdef DEBUG | 17 | #ifdef DEBUG |
18 | printk("%s: %p %p %p\n", __FUNCTION__, frD, frA, frB); | 18 | printk("%s: %p %p %p\n", __func__, frD, frA, frB); |
19 | #endif | 19 | #endif |
20 | 20 | ||
21 | __FP_UNPACK_D(A, frA); | 21 | __FP_UNPACK_D(A, frA); |
@@ -29,13 +29,13 @@ fdivs(void *frD, void *frA, void *frB) | |||
29 | if (A_c == FP_CLS_ZERO && B_c == FP_CLS_ZERO) { | 29 | if (A_c == FP_CLS_ZERO && B_c == FP_CLS_ZERO) { |
30 | ret |= EFLAG_VXZDZ; | 30 | ret |= EFLAG_VXZDZ; |
31 | #ifdef DEBUG | 31 | #ifdef DEBUG |
32 | printk("%s: FPSCR_VXZDZ raised\n", __FUNCTION__); | 32 | printk("%s: FPSCR_VXZDZ raised\n", __func__); |
33 | #endif | 33 | #endif |
34 | } | 34 | } |
35 | if (A_c == FP_CLS_INF && B_c == FP_CLS_INF) { | 35 | if (A_c == FP_CLS_INF && B_c == FP_CLS_INF) { |
36 | ret |= EFLAG_VXIDI; | 36 | ret |= EFLAG_VXIDI; |
37 | #ifdef DEBUG | 37 | #ifdef DEBUG |
38 | printk("%s: FPSCR_VXIDI raised\n", __FUNCTION__); | 38 | printk("%s: FPSCR_VXIDI raised\n", __func__); |
39 | #endif | 39 | #endif |
40 | } | 40 | } |
41 | 41 | ||