Skip to content

Commit

Permalink
[MIPS] Fix gcc 3.3 warning.
Browse files Browse the repository at this point in the history
  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>
  • Loading branch information
Ralf Baechle committed Aug 27, 2007
1 parent 0806133 commit c99dcac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/mips/kernel/cpu-bugs64.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit c99dcac

Please sign in to comment.