Commit c99dcac4 authored by Ralf Baechle's avatar Ralf Baechle

[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: default avatarRalf Baechle <ralf@linux-mips.org>
parent 0806133a
...@@ -29,7 +29,7 @@ static inline void align_mod(const int align, const int mod) ...@@ -29,7 +29,7 @@ static inline void align_mod(const int align, const int mod)
".endr\n\t" ".endr\n\t"
".set pop" ".set pop"
: :
: "n" (align), "n" (mod)); : "rn" (align), "rn" (mod));
} }
static inline void mult_sh_align_mod(long *v1, long *v2, long *w, static inline void mult_sh_align_mod(long *v1, long *v2, long *w,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment