MIPS R6 changed the opcode for the clz instruction so we need to properly instruct the assembler when using inline asm. Signed-off-by: Markos Chandras <markos.chandras@xxxxxxxxxx> --- arch/mips/mti-malta/malta-int.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/mips/mti-malta/malta-int.c b/arch/mips/mti-malta/malta-int.c index e4f43baa8f67..eada9eb0d44e 100644 --- a/arch/mips/mti-malta/malta-int.c +++ b/arch/mips/mti-malta/malta-int.c @@ -207,7 +207,7 @@ static inline int clz(unsigned long x) { __asm__( " .set push \n" - " .set mips32 \n" + " .set "MIPS_ISA_LEVEL" \n" " clz %0, %1 \n" " .set pop \n" : "=r" (x) -- 2.2.0