diff options
Diffstat (limited to 'arch/powerpc/math-emu')
41 files changed, 46 insertions, 46 deletions
diff --git a/arch/powerpc/math-emu/fabs.c b/arch/powerpc/math-emu/fabs.c index 41f0617f3d3a..549baba5948f 100644 --- a/arch/powerpc/math-emu/fabs.c +++ b/arch/powerpc/math-emu/fabs.c | |||
@@ -9,7 +9,7 @@ fabs(u32 *frD, u32 *frB) | |||
9 | frD[1] = frB[1]; | 9 | frD[1] = frB[1]; |
10 | 10 | ||
11 | #ifdef DEBUG | 11 | #ifdef DEBUG |
12 | printk("%s: D %p, B %p: ", __FUNCTION__, frD, frB); | 12 | printk("%s: D %p, B %p: ", __func__, frD, frB); |
13 | dump_double(frD); | 13 | dump_double(frD); |
14 | printk("\n"); | 14 | printk("\n"); |
15 | #endif | 15 | #endif |
diff --git a/arch/powerpc/math-emu/fadd.c b/arch/powerpc/math-emu/fadd.c index fc8836488b64..7befbbf2c332 100644 --- a/arch/powerpc/math-emu/fadd.c +++ b/arch/powerpc/math-emu/fadd.c | |||
@@ -14,7 +14,7 @@ fadd(void *frD, void *frA, void *frB) | |||
14 | int ret = 0; | 14 | int ret = 0; |
15 | 15 | ||
16 | #ifdef DEBUG | 16 | #ifdef DEBUG |
17 | printk("%s: %p %p %p\n", __FUNCTION__, frD, frA, frB); | 17 | printk("%s: %p %p %p\n", __func__, frD, frA, frB); |
18 | #endif | 18 | #endif |
19 | 19 | ||
20 | __FP_UNPACK_D(A, frA); | 20 | __FP_UNPACK_D(A, frA); |
diff --git a/arch/powerpc/math-emu/fadds.c b/arch/powerpc/math-emu/fadds.c index 93025b6c8f3c..2b346b38b480 100644 --- a/arch/powerpc/math-emu/fadds.c +++ b/arch/powerpc/math-emu/fadds.c | |||
@@ -15,7 +15,7 @@ fadds(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); |
diff --git a/arch/powerpc/math-emu/fcmpo.c b/arch/powerpc/math-emu/fcmpo.c index 4efac394b4cb..36d689044c63 100644 --- a/arch/powerpc/math-emu/fcmpo.c +++ b/arch/powerpc/math-emu/fcmpo.c | |||
@@ -15,7 +15,7 @@ fcmpo(u32 *ccr, int crfD, void *frA, void *frB) | |||
15 | int ret = 0; | 15 | int ret = 0; |
16 | 16 | ||
17 | #ifdef DEBUG | 17 | #ifdef DEBUG |
18 | printk("%s: %p (%08x) %d %p %p\n", __FUNCTION__, ccr, *ccr, crfD, frA, frB); | 18 | printk("%s: %p (%08x) %d %p %p\n", __func__, ccr, *ccr, crfD, frA, frB); |
19 | #endif | 19 | #endif |
20 | 20 | ||
21 | __FP_UNPACK_D(A, frA); | 21 | __FP_UNPACK_D(A, frA); |
diff --git a/arch/powerpc/math-emu/fcmpu.c b/arch/powerpc/math-emu/fcmpu.c index b7e33176e618..53d93894f2a6 100644 --- a/arch/powerpc/math-emu/fcmpu.c +++ b/arch/powerpc/math-emu/fcmpu.c | |||
@@ -14,7 +14,7 @@ fcmpu(u32 *ccr, int crfD, void *frA, void *frB) | |||
14 | long cmp; | 14 | long cmp; |
15 | 15 | ||
16 | #ifdef DEBUG | 16 | #ifdef DEBUG |
17 | printk("%s: %p (%08x) %d %p %p\n", __FUNCTION__, ccr, *ccr, crfD, frA, frB); | 17 | printk("%s: %p (%08x) %d %p %p\n", __func__, ccr, *ccr, crfD, frA, frB); |
18 | #endif | 18 | #endif |
19 | 19 | ||
20 | __FP_UNPACK_D(A, frA); | 20 | __FP_UNPACK_D(A, frA); |
diff --git a/arch/powerpc/math-emu/fctiw.c b/arch/powerpc/math-emu/fctiw.c index 3b3c98b840cf..fcd7a95e021d 100644 --- a/arch/powerpc/math-emu/fctiw.c +++ b/arch/powerpc/math-emu/fctiw.c | |||
@@ -16,7 +16,7 @@ fctiw(u32 *frD, void *frB) | |||
16 | frD[1] = r; | 16 | frD[1] = r; |
17 | 17 | ||
18 | #ifdef DEBUG | 18 | #ifdef DEBUG |
19 | printk("%s: D %p, B %p: ", __FUNCTION__, frD, frB); | 19 | printk("%s: D %p, B %p: ", __func__, frD, frB); |
20 | dump_double(frD); | 20 | dump_double(frD); |
21 | printk("\n"); | 21 | printk("\n"); |
22 | #endif | 22 | #endif |
diff --git a/arch/powerpc/math-emu/fctiwz.c b/arch/powerpc/math-emu/fctiwz.c index 7717eb6fcfb6..1514d59e146e 100644 --- a/arch/powerpc/math-emu/fctiwz.c +++ b/arch/powerpc/math-emu/fctiwz.c | |||
@@ -23,7 +23,7 @@ fctiwz(u32 *frD, void *frB) | |||
23 | __FPU_FPSCR = fpscr; | 23 | __FPU_FPSCR = fpscr; |
24 | 24 | ||
25 | #ifdef DEBUG | 25 | #ifdef DEBUG |
26 | printk("%s: D %p, B %p: ", __FUNCTION__, frD, frB); | 26 | printk("%s: D %p, B %p: ", __func__, frD, frB); |
27 | dump_double(frD); | 27 | dump_double(frD); |
28 | printk("\n"); | 28 | printk("\n"); |
29 | #endif | 29 | #endif |
diff --git a/arch/powerpc/math-emu/fdiv.c b/arch/powerpc/math-emu/fdiv.c index f2fba825b2d0..18a20fe396b0 100644 --- a/arch/powerpc/math-emu/fdiv.c +++ b/arch/powerpc/math-emu/fdiv.c | |||
@@ -14,7 +14,7 @@ fdiv(void *frD, void *frA, void *frB) | |||
14 | int ret = 0; | 14 | int ret = 0; |
15 | 15 | ||
16 | #ifdef DEBUG | 16 | #ifdef DEBUG |
17 | printk("%s: %p %p %p\n", __FUNCTION__, frD, frA, frB); | 17 | printk("%s: %p %p %p\n", __func__, frD, frA, frB); |
18 | #endif | 18 | #endif |
19 | 19 | ||
20 | __FP_UNPACK_D(A, frA); | 20 | __FP_UNPACK_D(A, frA); |
@@ -28,13 +28,13 @@ fdiv(void *frD, void *frA, void *frB) | |||
28 | if (A_c == FP_CLS_ZERO && B_c == FP_CLS_ZERO) { | 28 | if (A_c == FP_CLS_ZERO && B_c == FP_CLS_ZERO) { |
29 | ret |= EFLAG_VXZDZ; | 29 | ret |= EFLAG_VXZDZ; |
30 | #ifdef DEBUG | 30 | #ifdef DEBUG |
31 | printk("%s: FPSCR_VXZDZ raised\n", __FUNCTION__); | 31 | printk("%s: FPSCR_VXZDZ raised\n", __func__); |
32 | #endif | 32 | #endif |
33 | } | 33 | } |
34 | if (A_c == FP_CLS_INF && B_c == FP_CLS_INF) { | 34 | if (A_c == FP_CLS_INF && B_c == FP_CLS_INF) { |
35 | ret |= EFLAG_VXIDI; | 35 | ret |= EFLAG_VXIDI; |
36 | #ifdef DEBUG | 36 | #ifdef DEBUG |
37 | printk("%s: FPSCR_VXIDI raised\n", __FUNCTION__); | 37 | printk("%s: FPSCR_VXIDI raised\n", __func__); |
38 | #endif | 38 | #endif |
39 | } | 39 | } |
40 | 40 | ||
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 | ||
diff --git a/arch/powerpc/math-emu/fmadd.c b/arch/powerpc/math-emu/fmadd.c index 0a1dbce793e9..dedb465fdc68 100644 --- a/arch/powerpc/math-emu/fmadd.c +++ b/arch/powerpc/math-emu/fmadd.c | |||
@@ -16,7 +16,7 @@ fmadd(void *frD, void *frA, void *frB, void *frC) | |||
16 | int ret = 0; | 16 | int ret = 0; |
17 | 17 | ||
18 | #ifdef DEBUG | 18 | #ifdef DEBUG |
19 | printk("%s: %p %p %p %p\n", __FUNCTION__, frD, frA, frB, frC); | 19 | printk("%s: %p %p %p %p\n", __func__, frD, frA, frB, frC); |
20 | #endif | 20 | #endif |
21 | 21 | ||
22 | __FP_UNPACK_D(A, frA); | 22 | __FP_UNPACK_D(A, frA); |
diff --git a/arch/powerpc/math-emu/fmadds.c b/arch/powerpc/math-emu/fmadds.c index 0f70bba9445e..6bbb56d5502c 100644 --- a/arch/powerpc/math-emu/fmadds.c +++ b/arch/powerpc/math-emu/fmadds.c | |||
@@ -17,7 +17,7 @@ fmadds(void *frD, void *frA, void *frB, void *frC) | |||
17 | int ret = 0; | 17 | int ret = 0; |
18 | 18 | ||
19 | #ifdef DEBUG | 19 | #ifdef DEBUG |
20 | printk("%s: %p %p %p %p\n", __FUNCTION__, frD, frA, frB, frC); | 20 | printk("%s: %p %p %p %p\n", __func__, frD, frA, frB, frC); |
21 | #endif | 21 | #endif |
22 | 22 | ||
23 | __FP_UNPACK_D(A, frA); | 23 | __FP_UNPACK_D(A, frA); |
diff --git a/arch/powerpc/math-emu/fmr.c b/arch/powerpc/math-emu/fmr.c index 28df700c0c7e..bd55384b8196 100644 --- a/arch/powerpc/math-emu/fmr.c +++ b/arch/powerpc/math-emu/fmr.c | |||
@@ -9,7 +9,7 @@ fmr(u32 *frD, u32 *frB) | |||
9 | frD[1] = frB[1]; | 9 | frD[1] = frB[1]; |
10 | 10 | ||
11 | #ifdef DEBUG | 11 | #ifdef DEBUG |
12 | printk("%s: D %p, B %p: ", __FUNCTION__, frD, frB); | 12 | printk("%s: D %p, B %p: ", __func__, frD, frB); |
13 | dump_double(frD); | 13 | dump_double(frD); |
14 | printk("\n"); | 14 | printk("\n"); |
15 | #endif | 15 | #endif |
diff --git a/arch/powerpc/math-emu/fmsub.c b/arch/powerpc/math-emu/fmsub.c index 203fd48a6fec..f311e2c7e67e 100644 --- a/arch/powerpc/math-emu/fmsub.c +++ b/arch/powerpc/math-emu/fmsub.c | |||
@@ -16,7 +16,7 @@ fmsub(void *frD, void *frA, void *frB, void *frC) | |||
16 | int ret = 0; | 16 | int ret = 0; |
17 | 17 | ||
18 | #ifdef DEBUG | 18 | #ifdef DEBUG |
19 | printk("%s: %p %p %p %p\n", __FUNCTION__, frD, frA, frB, frC); | 19 | printk("%s: %p %p %p %p\n", __func__, frD, frA, frB, frC); |
20 | #endif | 20 | #endif |
21 | 21 | ||
22 | __FP_UNPACK_D(A, frA); | 22 | __FP_UNPACK_D(A, frA); |
diff --git a/arch/powerpc/math-emu/fmsubs.c b/arch/powerpc/math-emu/fmsubs.c index 8ce68624c189..81a716d3ee2e 100644 --- a/arch/powerpc/math-emu/fmsubs.c +++ b/arch/powerpc/math-emu/fmsubs.c | |||
@@ -17,7 +17,7 @@ fmsubs(void *frD, void *frA, void *frB, void *frC) | |||
17 | int ret = 0; | 17 | int ret = 0; |
18 | 18 | ||
19 | #ifdef DEBUG | 19 | #ifdef DEBUG |
20 | printk("%s: %p %p %p %p\n", __FUNCTION__, frD, frA, frB, frC); | 20 | printk("%s: %p %p %p %p\n", __func__, frD, frA, frB, frC); |
21 | #endif | 21 | #endif |
22 | 22 | ||
23 | __FP_UNPACK_D(A, frA); | 23 | __FP_UNPACK_D(A, frA); |
diff --git a/arch/powerpc/math-emu/fmul.c b/arch/powerpc/math-emu/fmul.c index 66c7e79aae2e..2f3d32784a04 100644 --- a/arch/powerpc/math-emu/fmul.c +++ b/arch/powerpc/math-emu/fmul.c | |||
@@ -14,7 +14,7 @@ fmul(void *frD, void *frA, void *frB) | |||
14 | int ret = 0; | 14 | int ret = 0; |
15 | 15 | ||
16 | #ifdef DEBUG | 16 | #ifdef DEBUG |
17 | printk("%s: %p %p %p\n", __FUNCTION__, frD, frA, frB); | 17 | printk("%s: %p %p %p\n", __func__, frD, frA, frB); |
18 | #endif | 18 | #endif |
19 | 19 | ||
20 | __FP_UNPACK_D(A, frA); | 20 | __FP_UNPACK_D(A, frA); |
diff --git a/arch/powerpc/math-emu/fmuls.c b/arch/powerpc/math-emu/fmuls.c index 26bc4278271c..962b5883f784 100644 --- a/arch/powerpc/math-emu/fmuls.c +++ b/arch/powerpc/math-emu/fmuls.c | |||
@@ -15,7 +15,7 @@ fmuls(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); |
diff --git a/arch/powerpc/math-emu/fnabs.c b/arch/powerpc/math-emu/fnabs.c index c6b913d179e0..a7d34f3d9499 100644 --- a/arch/powerpc/math-emu/fnabs.c +++ b/arch/powerpc/math-emu/fnabs.c | |||
@@ -9,7 +9,7 @@ fnabs(u32 *frD, u32 *frB) | |||
9 | frD[1] = frB[1]; | 9 | frD[1] = frB[1]; |
10 | 10 | ||
11 | #ifdef DEBUG | 11 | #ifdef DEBUG |
12 | printk("%s: D %p, B %p: ", __FUNCTION__, frD, frB); | 12 | printk("%s: D %p, B %p: ", __func__, frD, frB); |
13 | dump_double(frD); | 13 | dump_double(frD); |
14 | printk("\n"); | 14 | printk("\n"); |
15 | #endif | 15 | #endif |
diff --git a/arch/powerpc/math-emu/fneg.c b/arch/powerpc/math-emu/fneg.c index fe9a98deff69..1e988cd9c6cc 100644 --- a/arch/powerpc/math-emu/fneg.c +++ b/arch/powerpc/math-emu/fneg.c | |||
@@ -9,7 +9,7 @@ fneg(u32 *frD, u32 *frB) | |||
9 | frD[1] = frB[1]; | 9 | frD[1] = frB[1]; |
10 | 10 | ||
11 | #ifdef DEBUG | 11 | #ifdef DEBUG |
12 | printk("%s: D %p, B %p: ", __FUNCTION__, frD, frB); | 12 | printk("%s: D %p, B %p: ", __func__, frD, frB); |
13 | dump_double(frD); | 13 | dump_double(frD); |
14 | printk("\n"); | 14 | printk("\n"); |
15 | #endif | 15 | #endif |
diff --git a/arch/powerpc/math-emu/fnmadd.c b/arch/powerpc/math-emu/fnmadd.c index 7f312276d920..8cf7827c4fb5 100644 --- a/arch/powerpc/math-emu/fnmadd.c +++ b/arch/powerpc/math-emu/fnmadd.c | |||
@@ -16,7 +16,7 @@ fnmadd(void *frD, void *frA, void *frB, void *frC) | |||
16 | int ret = 0; | 16 | int ret = 0; |
17 | 17 | ||
18 | #ifdef DEBUG | 18 | #ifdef DEBUG |
19 | printk("%s: %p %p %p %p\n", __FUNCTION__, frD, frA, frB, frC); | 19 | printk("%s: %p %p %p %p\n", __func__, frD, frA, frB, frC); |
20 | #endif | 20 | #endif |
21 | 21 | ||
22 | __FP_UNPACK_D(A, frA); | 22 | __FP_UNPACK_D(A, frA); |
diff --git a/arch/powerpc/math-emu/fnmadds.c b/arch/powerpc/math-emu/fnmadds.c index 65454c9c70bc..f1c4f0f0d807 100644 --- a/arch/powerpc/math-emu/fnmadds.c +++ b/arch/powerpc/math-emu/fnmadds.c | |||
@@ -17,7 +17,7 @@ fnmadds(void *frD, void *frA, void *frB, void *frC) | |||
17 | int ret = 0; | 17 | int ret = 0; |
18 | 18 | ||
19 | #ifdef DEBUG | 19 | #ifdef DEBUG |
20 | printk("%s: %p %p %p %p\n", __FUNCTION__, frD, frA, frB, frC); | 20 | printk("%s: %p %p %p %p\n", __func__, frD, frA, frB, frC); |
21 | #endif | 21 | #endif |
22 | 22 | ||
23 | __FP_UNPACK_D(A, frA); | 23 | __FP_UNPACK_D(A, frA); |
diff --git a/arch/powerpc/math-emu/fnmsub.c b/arch/powerpc/math-emu/fnmsub.c index f1ca7482b5f0..98944e6e2601 100644 --- a/arch/powerpc/math-emu/fnmsub.c +++ b/arch/powerpc/math-emu/fnmsub.c | |||
@@ -16,7 +16,7 @@ fnmsub(void *frD, void *frA, void *frB, void *frC) | |||
16 | int ret = 0; | 16 | int ret = 0; |
17 | 17 | ||
18 | #ifdef DEBUG | 18 | #ifdef DEBUG |
19 | printk("%s: %p %p %p %p\n", __FUNCTION__, frD, frA, frB, frC); | 19 | printk("%s: %p %p %p %p\n", __func__, frD, frA, frB, frC); |
20 | #endif | 20 | #endif |
21 | 21 | ||
22 | __FP_UNPACK_D(A, frA); | 22 | __FP_UNPACK_D(A, frA); |
diff --git a/arch/powerpc/math-emu/fnmsubs.c b/arch/powerpc/math-emu/fnmsubs.c index 5c9a09a87dc7..b20f4eb63fb9 100644 --- a/arch/powerpc/math-emu/fnmsubs.c +++ b/arch/powerpc/math-emu/fnmsubs.c | |||
@@ -17,7 +17,7 @@ fnmsubs(void *frD, void *frA, void *frB, void *frC) | |||
17 | int ret = 0; | 17 | int ret = 0; |
18 | 18 | ||
19 | #ifdef DEBUG | 19 | #ifdef DEBUG |
20 | printk("%s: %p %p %p %p\n", __FUNCTION__, frD, frA, frB, frC); | 20 | printk("%s: %p %p %p %p\n", __func__, frD, frA, frB, frC); |
21 | #endif | 21 | #endif |
22 | 22 | ||
23 | __FP_UNPACK_D(A, frA); | 23 | __FP_UNPACK_D(A, frA); |
diff --git a/arch/powerpc/math-emu/fres.c b/arch/powerpc/math-emu/fres.c index ec11e46d20af..10ecbd08b79e 100644 --- a/arch/powerpc/math-emu/fres.c +++ b/arch/powerpc/math-emu/fres.c | |||
@@ -6,7 +6,7 @@ int | |||
6 | fres(void *frD, void *frB) | 6 | fres(void *frD, void *frB) |
7 | { | 7 | { |
8 | #ifdef DEBUG | 8 | #ifdef DEBUG |
9 | printk("%s: %p %p\n", __FUNCTION__, frD, frB); | 9 | printk("%s: %p %p\n", __func__, frD, frB); |
10 | #endif | 10 | #endif |
11 | return -ENOSYS; | 11 | return -ENOSYS; |
12 | } | 12 | } |
diff --git a/arch/powerpc/math-emu/frsp.c b/arch/powerpc/math-emu/frsp.c index d879b2a3d0c9..724ccbc0468e 100644 --- a/arch/powerpc/math-emu/frsp.c +++ b/arch/powerpc/math-emu/frsp.c | |||
@@ -12,7 +12,7 @@ frsp(void *frD, void *frB) | |||
12 | FP_DECL_D(B); | 12 | FP_DECL_D(B); |
13 | 13 | ||
14 | #ifdef DEBUG | 14 | #ifdef DEBUG |
15 | printk("%s: D %p, B %p\n", __FUNCTION__, frD, frB); | 15 | printk("%s: D %p, B %p\n", __func__, frD, frB); |
16 | #endif | 16 | #endif |
17 | 17 | ||
18 | __FP_UNPACK_D(B, frB); | 18 | __FP_UNPACK_D(B, frB); |
diff --git a/arch/powerpc/math-emu/frsqrte.c b/arch/powerpc/math-emu/frsqrte.c index a11ae1829850..1d0a3a0fd0e6 100644 --- a/arch/powerpc/math-emu/frsqrte.c +++ b/arch/powerpc/math-emu/frsqrte.c | |||
@@ -6,7 +6,7 @@ int | |||
6 | frsqrte(void *frD, void *frB) | 6 | frsqrte(void *frD, void *frB) |
7 | { | 7 | { |
8 | #ifdef DEBUG | 8 | #ifdef DEBUG |
9 | printk("%s: %p %p\n", __FUNCTION__, frD, frB); | 9 | printk("%s: %p %p\n", __func__, frD, frB); |
10 | #endif | 10 | #endif |
11 | return 0; | 11 | return 0; |
12 | } | 12 | } |
diff --git a/arch/powerpc/math-emu/fsel.c b/arch/powerpc/math-emu/fsel.c index e36e6e72819a..ecb5f28eb1f3 100644 --- a/arch/powerpc/math-emu/fsel.c +++ b/arch/powerpc/math-emu/fsel.c | |||
@@ -11,7 +11,7 @@ fsel(u32 *frD, void *frA, u32 *frB, u32 *frC) | |||
11 | FP_DECL_D(A); | 11 | FP_DECL_D(A); |
12 | 12 | ||
13 | #ifdef DEBUG | 13 | #ifdef DEBUG |
14 | printk("%s: %p %p %p %p\n", __FUNCTION__, frD, frA, frB, frC); | 14 | printk("%s: %p %p %p %p\n", __func__, frD, frA, frB, frC); |
15 | #endif | 15 | #endif |
16 | 16 | ||
17 | __FP_UNPACK_D(A, frA); | 17 | __FP_UNPACK_D(A, frA); |
diff --git a/arch/powerpc/math-emu/fsqrt.c b/arch/powerpc/math-emu/fsqrt.c index 6f8319f64a8a..38ec2b752e9d 100644 --- a/arch/powerpc/math-emu/fsqrt.c +++ b/arch/powerpc/math-emu/fsqrt.c | |||
@@ -13,7 +13,7 @@ fsqrt(void *frD, void *frB) | |||
13 | int ret = 0; | 13 | int ret = 0; |
14 | 14 | ||
15 | #ifdef DEBUG | 15 | #ifdef DEBUG |
16 | printk("%s: %p %p %p %p\n", __FUNCTION__, frD, frB); | 16 | printk("%s: %p %p %p %p\n", __func__, frD, frB); |
17 | #endif | 17 | #endif |
18 | 18 | ||
19 | __FP_UNPACK_D(B, frB); | 19 | __FP_UNPACK_D(B, frB); |
diff --git a/arch/powerpc/math-emu/fsqrts.c b/arch/powerpc/math-emu/fsqrts.c index 3b2b1cf55c12..335263e06ee5 100644 --- a/arch/powerpc/math-emu/fsqrts.c +++ b/arch/powerpc/math-emu/fsqrts.c | |||
@@ -14,7 +14,7 @@ fsqrts(void *frD, void *frB) | |||
14 | int ret = 0; | 14 | int ret = 0; |
15 | 15 | ||
16 | #ifdef DEBUG | 16 | #ifdef DEBUG |
17 | printk("%s: %p %p %p %p\n", __FUNCTION__, frD, frB); | 17 | printk("%s: %p %p %p %p\n", __func__, frD, frB); |
18 | #endif | 18 | #endif |
19 | 19 | ||
20 | __FP_UNPACK_D(B, frB); | 20 | __FP_UNPACK_D(B, frB); |
diff --git a/arch/powerpc/math-emu/fsub.c b/arch/powerpc/math-emu/fsub.c index 956679042bb2..208d20fc52a5 100644 --- a/arch/powerpc/math-emu/fsub.c +++ b/arch/powerpc/math-emu/fsub.c | |||
@@ -14,7 +14,7 @@ fsub(void *frD, void *frA, void *frB) | |||
14 | int ret = 0; | 14 | int ret = 0; |
15 | 15 | ||
16 | #ifdef DEBUG | 16 | #ifdef DEBUG |
17 | printk("%s: %p %p %p\n", __FUNCTION__, frD, frA, frB); | 17 | printk("%s: %p %p %p\n", __func__, frD, frA, frB); |
18 | #endif | 18 | #endif |
19 | 19 | ||
20 | __FP_UNPACK_D(A, frA); | 20 | __FP_UNPACK_D(A, frA); |
diff --git a/arch/powerpc/math-emu/fsubs.c b/arch/powerpc/math-emu/fsubs.c index 3428117dfe8c..0e61b808c44b 100644 --- a/arch/powerpc/math-emu/fsubs.c +++ b/arch/powerpc/math-emu/fsubs.c | |||
@@ -15,7 +15,7 @@ fsubs(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); |
diff --git a/arch/powerpc/math-emu/lfd.c b/arch/powerpc/math-emu/lfd.c index 7d38101c329b..6ec90b57c61a 100644 --- a/arch/powerpc/math-emu/lfd.c +++ b/arch/powerpc/math-emu/lfd.c | |||
@@ -11,7 +11,7 @@ lfd(void *frD, void *ea) | |||
11 | if (copy_from_user(frD, ea, sizeof(double))) | 11 | if (copy_from_user(frD, ea, sizeof(double))) |
12 | return -EFAULT; | 12 | return -EFAULT; |
13 | #ifdef DEBUG | 13 | #ifdef DEBUG |
14 | printk("%s: D %p, ea %p: ", __FUNCTION__, frD, ea); | 14 | printk("%s: D %p, ea %p: ", __func__, frD, ea); |
15 | dump_double(frD); | 15 | dump_double(frD); |
16 | printk("\n"); | 16 | printk("\n"); |
17 | #endif | 17 | #endif |
diff --git a/arch/powerpc/math-emu/lfs.c b/arch/powerpc/math-emu/lfs.c index c86dee3d7655..6f18ebe3a7ff 100644 --- a/arch/powerpc/math-emu/lfs.c +++ b/arch/powerpc/math-emu/lfs.c | |||
@@ -14,7 +14,7 @@ lfs(void *frD, void *ea) | |||
14 | float f; | 14 | float f; |
15 | 15 | ||
16 | #ifdef DEBUG | 16 | #ifdef DEBUG |
17 | printk("%s: D %p, ea %p\n", __FUNCTION__, frD, ea); | 17 | printk("%s: D %p, ea %p\n", __func__, frD, ea); |
18 | #endif | 18 | #endif |
19 | 19 | ||
20 | if (copy_from_user(&f, ea, sizeof(float))) | 20 | if (copy_from_user(&f, ea, sizeof(float))) |
diff --git a/arch/powerpc/math-emu/mcrfs.c b/arch/powerpc/math-emu/mcrfs.c index 106dd912914b..41ba247faf89 100644 --- a/arch/powerpc/math-emu/mcrfs.c +++ b/arch/powerpc/math-emu/mcrfs.c | |||
@@ -10,7 +10,7 @@ mcrfs(u32 *ccr, u32 crfD, u32 crfS) | |||
10 | u32 value, clear; | 10 | u32 value, clear; |
11 | 11 | ||
12 | #ifdef DEBUG | 12 | #ifdef DEBUG |
13 | printk("%s: %p (%08x) %d %d\n", __FUNCTION__, ccr, *ccr, crfD, crfS); | 13 | printk("%s: %p (%08x) %d %d\n", __func__, ccr, *ccr, crfD, crfS); |
14 | #endif | 14 | #endif |
15 | 15 | ||
16 | clear = 15 << ((7 - crfS) << 2); | 16 | clear = 15 << ((7 - crfS) << 2); |
@@ -24,7 +24,7 @@ mcrfs(u32 *ccr, u32 crfD, u32 crfS) | |||
24 | *ccr |= (value << ((7 - crfD) << 2)); | 24 | *ccr |= (value << ((7 - crfD) << 2)); |
25 | 25 | ||
26 | #ifdef DEBUG | 26 | #ifdef DEBUG |
27 | printk("CR: %08x\n", __FUNCTION__, *ccr); | 27 | printk("CR: %08x\n", __func__, *ccr); |
28 | #endif | 28 | #endif |
29 | 29 | ||
30 | return 0; | 30 | return 0; |
diff --git a/arch/powerpc/math-emu/mffs.c b/arch/powerpc/math-emu/mffs.c index f477c9170e75..b0e2106e6eb6 100644 --- a/arch/powerpc/math-emu/mffs.c +++ b/arch/powerpc/math-emu/mffs.c | |||
@@ -10,7 +10,7 @@ mffs(u32 *frD) | |||
10 | frD[1] = __FPU_FPSCR; | 10 | frD[1] = __FPU_FPSCR; |
11 | 11 | ||
12 | #ifdef DEBUG | 12 | #ifdef DEBUG |
13 | printk("%s: frD %p: %08x.%08x\n", __FUNCTION__, frD, frD[0], frD[1]); | 13 | printk("%s: frD %p: %08x.%08x\n", __func__, frD, frD[0], frD[1]); |
14 | #endif | 14 | #endif |
15 | 15 | ||
16 | return 0; | 16 | return 0; |
diff --git a/arch/powerpc/math-emu/mtfsb0.c b/arch/powerpc/math-emu/mtfsb0.c index 99bfd80f4af3..d3062350ea21 100644 --- a/arch/powerpc/math-emu/mtfsb0.c +++ b/arch/powerpc/math-emu/mtfsb0.c | |||
@@ -11,7 +11,7 @@ mtfsb0(int crbD) | |||
11 | __FPU_FPSCR &= ~(1 << (31 - crbD)); | 11 | __FPU_FPSCR &= ~(1 << (31 - crbD)); |
12 | 12 | ||
13 | #ifdef DEBUG | 13 | #ifdef DEBUG |
14 | printk("%s: %d %08lx\n", __FUNCTION__, crbD, __FPU_FPSCR); | 14 | printk("%s: %d %08lx\n", __func__, crbD, __FPU_FPSCR); |
15 | #endif | 15 | #endif |
16 | 16 | ||
17 | return 0; | 17 | return 0; |
diff --git a/arch/powerpc/math-emu/mtfsb1.c b/arch/powerpc/math-emu/mtfsb1.c index 3d9e7ed92d2b..2e948704b56e 100644 --- a/arch/powerpc/math-emu/mtfsb1.c +++ b/arch/powerpc/math-emu/mtfsb1.c | |||
@@ -11,7 +11,7 @@ mtfsb1(int crbD) | |||
11 | __FPU_FPSCR |= (1 << (31 - crbD)); | 11 | __FPU_FPSCR |= (1 << (31 - crbD)); |
12 | 12 | ||
13 | #ifdef DEBUG | 13 | #ifdef DEBUG |
14 | printk("%s: %d %08lx\n", __FUNCTION__, crbD, __FPU_FPSCR); | 14 | printk("%s: %d %08lx\n", __func__, crbD, __FPU_FPSCR); |
15 | #endif | 15 | #endif |
16 | 16 | ||
17 | return 0; | 17 | return 0; |
diff --git a/arch/powerpc/math-emu/mtfsf.c b/arch/powerpc/math-emu/mtfsf.c index d70cf714994c..48014d8e3af1 100644 --- a/arch/powerpc/math-emu/mtfsf.c +++ b/arch/powerpc/math-emu/mtfsf.c | |||
@@ -38,7 +38,7 @@ mtfsf(unsigned int FM, u32 *frB) | |||
38 | __FPU_FPSCR |= (frB[1] & mask); | 38 | __FPU_FPSCR |= (frB[1] & mask); |
39 | 39 | ||
40 | #ifdef DEBUG | 40 | #ifdef DEBUG |
41 | printk("%s: %02x %p: %08lx\n", __FUNCTION__, FM, frB, __FPU_FPSCR); | 41 | printk("%s: %02x %p: %08lx\n", __func__, FM, frB, __FPU_FPSCR); |
42 | #endif | 42 | #endif |
43 | 43 | ||
44 | return 0; | 44 | return 0; |
diff --git a/arch/powerpc/math-emu/mtfsfi.c b/arch/powerpc/math-emu/mtfsfi.c index 71df854baa7e..031e20093549 100644 --- a/arch/powerpc/math-emu/mtfsfi.c +++ b/arch/powerpc/math-emu/mtfsfi.c | |||
@@ -16,7 +16,7 @@ mtfsfi(unsigned int crfD, unsigned int IMM) | |||
16 | __FPU_FPSCR |= (IMM & 0xf) << ((7 - crfD) << 2); | 16 | __FPU_FPSCR |= (IMM & 0xf) << ((7 - crfD) << 2); |
17 | 17 | ||
18 | #ifdef DEBUG | 18 | #ifdef DEBUG |
19 | printk("%s: %d %x: %08lx\n", __FUNCTION__, crfD, IMM, __FPU_FPSCR); | 19 | printk("%s: %d %x: %08lx\n", __func__, crfD, IMM, __FPU_FPSCR); |
20 | #endif | 20 | #endif |
21 | 21 | ||
22 | return 0; | 22 | return 0; |
diff --git a/arch/powerpc/math-emu/stfd.c b/arch/powerpc/math-emu/stfd.c index 3f8c2558a9e8..33a165c8df0f 100644 --- a/arch/powerpc/math-emu/stfd.c +++ b/arch/powerpc/math-emu/stfd.c | |||
@@ -7,7 +7,7 @@ stfd(void *frS, void *ea) | |||
7 | { | 7 | { |
8 | #if 0 | 8 | #if 0 |
9 | #ifdef DEBUG | 9 | #ifdef DEBUG |
10 | printk("%s: S %p, ea %p: ", __FUNCTION__, frS, ea); | 10 | printk("%s: S %p, ea %p: ", __func__, frS, ea); |
11 | dump_double(frS); | 11 | dump_double(frS); |
12 | printk("\n"); | 12 | printk("\n"); |
13 | #endif | 13 | #endif |
diff --git a/arch/powerpc/math-emu/stfiwx.c b/arch/powerpc/math-emu/stfiwx.c index 95caaeec6a08..f15a35f67e2c 100644 --- a/arch/powerpc/math-emu/stfiwx.c +++ b/arch/powerpc/math-emu/stfiwx.c | |||
@@ -6,7 +6,7 @@ int | |||
6 | stfiwx(u32 *frS, void *ea) | 6 | stfiwx(u32 *frS, void *ea) |
7 | { | 7 | { |
8 | #ifdef DEBUG | 8 | #ifdef DEBUG |
9 | printk("%s: %p %p\n", __FUNCTION__, frS, ea); | 9 | printk("%s: %p %p\n", __func__, frS, ea); |
10 | #endif | 10 | #endif |
11 | 11 | ||
12 | if (copy_to_user(ea, &frS[1], sizeof(frS[1]))) | 12 | if (copy_to_user(ea, &frS[1], sizeof(frS[1]))) |
diff --git a/arch/powerpc/math-emu/stfs.c b/arch/powerpc/math-emu/stfs.c index e87ca23c6dc3..8689aa48ef69 100644 --- a/arch/powerpc/math-emu/stfs.c +++ b/arch/powerpc/math-emu/stfs.c | |||
@@ -15,7 +15,7 @@ stfs(void *frS, void *ea) | |||
15 | int err; | 15 | int err; |
16 | 16 | ||
17 | #ifdef DEBUG | 17 | #ifdef DEBUG |
18 | printk("%s: S %p, ea %p\n", __FUNCTION__, frS, ea); | 18 | printk("%s: S %p, ea %p\n", __func__, frS, ea); |
19 | #endif | 19 | #endif |
20 | 20 | ||
21 | __FP_UNPACK_D(A, frS); | 21 | __FP_UNPACK_D(A, frS); |