diff options
Diffstat (limited to 'arch/mips/kernel/smtc.c')
-rw-r--r-- | arch/mips/kernel/smtc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/kernel/smtc.c b/arch/mips/kernel/smtc.c index fe22387d58b1..137183bba54f 100644 --- a/arch/mips/kernel/smtc.c +++ b/arch/mips/kernel/smtc.c | |||
@@ -713,7 +713,7 @@ static __inline__ int atomic_postincrement(unsigned int *pv) | |||
713 | " addu %1, %0, 1 \n" | 713 | " addu %1, %0, 1 \n" |
714 | " sc %1, %2 \n" | 714 | " sc %1, %2 \n" |
715 | " beqz %1, 1b \n" | 715 | " beqz %1, 1b \n" |
716 | " sync \n" | 716 | __WEAK_LLSC_MB |
717 | : "=&r" (result), "=&r" (temp), "=m" (*pv) | 717 | : "=&r" (result), "=&r" (temp), "=m" (*pv) |
718 | : "m" (*pv) | 718 | : "m" (*pv) |
719 | : "memory"); | 719 | : "memory"); |