From: Ralf Baechle Date: Wed, 29 Jun 2005 13:35:19 +0000 (+0000) Subject: More .set to keep 32-bit processors happy. X-Git-Tag: v2.6.15-rc1~731^2~1^2~172 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7222424e2eb7915bceb34b915150f2fc76e0477c;p=linux-2.6 More .set to keep 32-bit processors happy. Signed-off-by: Ralf Baechle --- diff --git a/include/asm-mips/system.h b/include/asm-mips/system.h index 30c7ec1675..36f34d8ddf 100644 --- a/include/asm-mips/system.h +++ b/include/asm-mips/system.h @@ -178,7 +178,9 @@ static inline unsigned long __xchg_u32(volatile int * m, unsigned int val) __asm__ __volatile__( " .set mips3 \n" "1: ll %0, %3 # xchg_u32 \n" + " .set mips0 \n" " move %2, %z4 \n" + " .set mips3 \n" " sc %2, %1 \n" " beqzl %2, 1b \n" ROT_IN_PIECES @@ -195,7 +197,9 @@ static inline unsigned long __xchg_u32(volatile int * m, unsigned int val) __asm__ __volatile__( " .set mips3 \n" "1: ll %0, %3 # xchg_u32 \n" + " .set mips0 \n" " move %2, %z4 \n" + " .set mips3 \n" " sc %2, %1 \n" " beqz %2, 1b \n" #ifdef CONFIG_SMP