From: David Daney Date: Sat, 9 Jan 2010 01:17:43 +0000 (-0800) Subject: MIPS: New macro smp_mb__before_llsc. X-Git-Tag: v2.6.34-rc1~269^2~102 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f252ffd50c97dae87b45f1dbad24f71358ccfbd6;p=pandora-kernel.git MIPS: New macro smp_mb__before_llsc. Replace some instances of smp_llsc_mb() with a new macro smp_mb__before_llsc(). It is used before ll/sc sequences that are documented as needing write barrier semantics. The default implementation of smp_mb__before_llsc() is just smp_llsc_mb(), so there are no changes in semantics. Also simplify definition of smp_mb(), smp_rmb(), and smp_wmb() to be just barrier() in the non-SMP case. Signed-off-by: David Daney To: linux-mips@linux-mips.org Patchwork: http://patchwork.linux-mips.org/patch/851/ Signed-off-by: Ralf Baechle --- Reading git-diff-tree failed