summaryrefslogtreecommitdiffstats
path: root/kernel/arch/mips/include/asm/bitops.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/arch/mips/include/asm/bitops.h')
-rw-r--r--kernel/arch/mips/include/asm/bitops.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/arch/mips/include/asm/bitops.h b/kernel/arch/mips/include/asm/bitops.h
index 0cf29bd5d..ce9666cf1 100644
--- a/kernel/arch/mips/include/asm/bitops.h
+++ b/kernel/arch/mips/include/asm/bitops.h
@@ -469,7 +469,7 @@ static inline int test_and_change_bit(unsigned long nr,
*/
static inline void __clear_bit_unlock(unsigned long nr, volatile unsigned long *addr)
{
- smp_mb();
+ smp_mb__before_llsc();
__clear_bit(nr, addr);
}