summaryrefslogtreecommitdiffstats
path: root/arch/mips/kernel/cpu-bugs64.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2007-08-16 13:10:16 +0200
committerRalf Baechle <ralf@linux-mips.org>2007-08-27 03:16:58 +0200
commitc99dcac435cec7aca313638db2f1bc406f29210b (patch)
treee61b689cb628c324402ea7037a392ae4390baad6 /arch/mips/kernel/cpu-bugs64.c
parent[MIPS] Fix invalid semicolon after if statement (diff)
downloadlinux-c99dcac435cec7aca313638db2f1bc406f29210b.tar.xz
linux-c99dcac435cec7aca313638db2f1bc406f29210b.zip
[MIPS] Fix gcc 3.3 warning.
CC arch/mips/kernel/cpu-bugs64.o arch/mips/kernel/cpu-bugs64.c: In function 'align_mod': arch/mips/kernel/cpu-bugs64.c:23: warning: asm operand 0 probably doesn't match constraints arch/mips/kernel/cpu-bugs64.c:23: warning: asm operand 1 probably doesn't match constraints Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/kernel/cpu-bugs64.c')
-rw-r--r--arch/mips/kernel/cpu-bugs64.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/kernel/cpu-bugs64.c b/arch/mips/kernel/cpu-bugs64.c
index c09337b947b9..ac04f0adc408 100644
--- a/arch/mips/kernel/cpu-bugs64.c
+++ b/arch/mips/kernel/cpu-bugs64.c
@@ -29,7 +29,7 @@ static inline void align_mod(const int align, const int mod)
".endr\n\t"
".set pop"
:
- : "n" (align), "n" (mod));
+ : "rn" (align), "rn" (mod));
}
static inline void mult_sh_align_mod(long *v1, long *v2, long *w,