]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
[MIPS] Fix gcc 3.3 warning.
authorRalf Baechle <ralf@linux-mips.org>
Thu, 16 Aug 2007 11:10:16 +0000 (12:10 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 27 Aug 2007 01:16:58 +0000 (02:16 +0100)
  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>
arch/mips/kernel/cpu-bugs64.c

index c09337b947b98e9947c01e3dd067a14fd0e6e356..ac04f0adc408b45548cc9bd720797d29dec94878 100644 (file)
@@ -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,