From: Ralf Baechle Date: Thu, 16 Aug 2007 11:10:16 +0000 (+0100) Subject: [MIPS] Fix gcc 3.3 warning. X-Git-Tag: MMI-PSA29.97-13-9~40641^2~16 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=c99dcac435cec7aca313638db2f1bc406f29210b;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git [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 --- 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,