Gitweb: http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=d87d0c930a1591617e4c7c78296b4ba029150188 Commit: d87d0c930a1591617e4c7c78296b4ba029150188 Parent: 61a33168bebb6ce5343a5f34ab421971dbfae9fa Author: Ralf Baechle <[EMAIL PROTECTED]> AuthorDate: Thu Oct 11 23:45:58 2007 +0100 Committer: Ralf Baechle <[EMAIL PROTECTED]> CommitDate: Thu Oct 11 23:45:58 2007 +0100
[MIPS] SMTC: Microoptimize atomic_postincrement for non-weak consistency. Signed-off-by: Ralf Baechle <[EMAIL PROTECTED]> --- 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 fe22387..137183b 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) " addu %1, %0, 1 \n" " sc %1, %2 \n" " beqz %1, 1b \n" - " sync \n" + __WEAK_LLSC_MB : "=&r" (result), "=&r" (temp), "=m" (*pv) : "m" (*pv) : "memory"); - To unsubscribe from this list: send the line "unsubscribe git-commits-head" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html