summaryrefslogtreecommitdiffstats
path: root/arch/mips/kernel/cpu-bugs64.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2007-08-16 12:10:16 +0100
committerRalf Baechle <ralf@linux-mips.org>2007-08-27 02:16:58 +0100
commitc99dcac435cec7aca313638db2f1bc406f29210b (patch)
treee61b689cb628c324402ea7037a392ae4390baad6 /arch/mips/kernel/cpu-bugs64.c
parent0806133af401381c559673c3e7269bf62af40388 (diff)
[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 c09337b947b..ac04f0adc40 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,