diff options
author | Yoichi Yuasa <yuasa@hh.iij4u.or.jp> | 2005-09-03 18:56:22 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@evo.osdl.org> | 2005-09-05 03:06:08 -0400 |
commit | 766160c29fadbafad1d6eb5e965922c7e78beb88 (patch) | |
tree | 20641faf983fd27760cf476da9b956bd78c778d4 /arch/mips/math-emu | |
parent | ed5ba2fbc6d03c41c4c3334648a6569bc42da764 (diff) |
[PATCH] mips: fix build warnings
This patch has fixed the following warnings.
arch/mips/kernel/genex.S:250:5: warning: "CONFIG_64BIT" is not defined
arch/mips/math-emu/cp1emu.c:1128:5: warning: "__mips64" is not defined
arch/mips/math-emu/cp1emu.c:1206:5: warning: "__mips64" is not defined
arch/mips/math-emu/cp1emu.c:1270:5: warning: "__mips64" is not defined
arch/mips/math-emu/cp1emu.c:323:5: warning: "__mips64" is not defined
arch/mips/math-emu/cp1emu.c:808:5: warning: "__mips64" is not defined
arch/mips/math-emu/cp1emu.c:953:5: warning: "__mips64" is not defined
arch/mips/mm/tlbex.c:519:5: warning: "CONFIG_64BIT" is not defined
include/asm/reg.h:73:5: warning: "CONFIG_64BIT" is not defined
Signed-off-by: Yoichi Yuasa <yuasa@hh.iij4u.or.jp>
Cc: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/mips/math-emu')
-rw-r--r-- | arch/mips/math-emu/cp1emu.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/arch/mips/math-emu/cp1emu.c b/arch/mips/math-emu/cp1emu.c index 20a552be02ee..99c550632d44 100644 --- a/arch/mips/math-emu/cp1emu.c +++ b/arch/mips/math-emu/cp1emu.c | |||
@@ -320,7 +320,7 @@ static int cop1Emulate(struct pt_regs *xcp, struct mips_fpu_soft_struct *ctx) | |||
320 | case cop1_op: | 320 | case cop1_op: |
321 | switch (MIPSInst_RS(ir)) { | 321 | switch (MIPSInst_RS(ir)) { |
322 | 322 | ||
323 | #if __mips64 && !defined(SINGLE_ONLY_FPU) | 323 | #if defined(__mips64) && !defined(SINGLE_ONLY_FPU) |
324 | case dmfc_op: | 324 | case dmfc_op: |
325 | /* copregister fs -> gpr[rt] */ | 325 | /* copregister fs -> gpr[rt] */ |
326 | if (MIPSInst_RT(ir) != 0) { | 326 | if (MIPSInst_RT(ir) != 0) { |
@@ -805,7 +805,7 @@ static int fpu_emu(struct pt_regs *xcp, struct mips_fpu_soft_struct *ctx, | |||
805 | ieee754dp d; | 805 | ieee754dp d; |
806 | ieee754sp s; | 806 | ieee754sp s; |
807 | int w; | 807 | int w; |
808 | #if __mips64 | 808 | #ifdef __mips64 |
809 | s64 l; | 809 | s64 l; |
810 | #endif | 810 | #endif |
811 | } rv; /* resulting value */ | 811 | } rv; /* resulting value */ |
@@ -950,7 +950,7 @@ static int fpu_emu(struct pt_regs *xcp, struct mips_fpu_soft_struct *ctx, | |||
950 | } | 950 | } |
951 | #endif /* __mips >= 2 */ | 951 | #endif /* __mips >= 2 */ |
952 | 952 | ||
953 | #if __mips64 && !defined(SINGLE_ONLY_FPU) | 953 | #if defined(__mips64) && !defined(SINGLE_ONLY_FPU) |
954 | case fcvtl_op:{ | 954 | case fcvtl_op:{ |
955 | ieee754sp fs; | 955 | ieee754sp fs; |
956 | 956 | ||
@@ -1125,7 +1125,7 @@ static int fpu_emu(struct pt_regs *xcp, struct mips_fpu_soft_struct *ctx, | |||
1125 | } | 1125 | } |
1126 | #endif | 1126 | #endif |
1127 | 1127 | ||
1128 | #if __mips64 && !defined(SINGLE_ONLY_FPU) | 1128 | #if defined(__mips64) && !defined(SINGLE_ONLY_FPU) |
1129 | case fcvtl_op:{ | 1129 | case fcvtl_op:{ |
1130 | ieee754dp fs; | 1130 | ieee754dp fs; |
1131 | 1131 | ||
@@ -1203,7 +1203,7 @@ static int fpu_emu(struct pt_regs *xcp, struct mips_fpu_soft_struct *ctx, | |||
1203 | break; | 1203 | break; |
1204 | } | 1204 | } |
1205 | 1205 | ||
1206 | #if __mips64 && !defined(SINGLE_ONLY_FPU) | 1206 | #if defined(__mips64) && !defined(SINGLE_ONLY_FPU) |
1207 | case l_fmt:{ | 1207 | case l_fmt:{ |
1208 | switch (MIPSInst_FUNC(ir)) { | 1208 | switch (MIPSInst_FUNC(ir)) { |
1209 | case fcvts_op: | 1209 | case fcvts_op: |
@@ -1267,7 +1267,7 @@ static int fpu_emu(struct pt_regs *xcp, struct mips_fpu_soft_struct *ctx, | |||
1267 | case w_fmt: | 1267 | case w_fmt: |
1268 | SITOREG(rv.w, MIPSInst_FD(ir)); | 1268 | SITOREG(rv.w, MIPSInst_FD(ir)); |
1269 | break; | 1269 | break; |
1270 | #if __mips64 && !defined(SINGLE_ONLY_FPU) | 1270 | #if defined(__mips64) && !defined(SINGLE_ONLY_FPU) |
1271 | case l_fmt: | 1271 | case l_fmt: |
1272 | DITOREG(rv.l, MIPSInst_FD(ir)); | 1272 | DITOREG(rv.l, MIPSInst_FD(ir)); |
1273 | break; | 1273 | break; |