From: Paul Mundt Date: Sun, 18 Oct 2009 06:36:02 +0000 (+0900) Subject: sh: Fix up smp_mb__xxx() memory barriers for SH-4A SMP. X-Git-Tag: v2.6.33-rc1~347^2~27^2~67 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1c8db713e21c82e14d0d1be14a09dae224472396;p=pandora-kernel.git sh: Fix up smp_mb__xxx() memory barriers for SH-4A SMP. In the past these were simply wrapping to barrier() which was sufficient on SH SMP platforms predating SH-4A. Unfortunately due to ll/sc semantics an explicit synco is needed in these cases, which is sorted for us by just switching these over to smp_mb(). smp_mb() also has the benefit of being wrapped to barrier() in the UP and non-SH4A cases, so old behaviour is maintained for those parts. Signed-off-by: Paul Mundt --- Reading git-diff-tree failed