summaryrefslogtreecommitdiffstats
path: root/arch/sh/kernel
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2009-10-18 15:36:02 +0900
committerPaul Mundt <lethal@linux-sh.org>2009-10-18 15:36:02 +0900
commit1c8db713e21c82e14d0d1be14a09dae224472396 (patch)
treeb8582d42e6f2a0fdcb0fe40ee319c90efc8664a8 /arch/sh/kernel
parent15dfdddbf0c2be680d5d2fe2bbe3aad3dba3cf0e (diff)
downloadtalos-op-linux-1c8db713e21c82e14d0d1be14a09dae224472396.tar.gz
talos-op-linux-1c8db713e21c82e14d0d1be14a09dae224472396.zip
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 <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/kernel')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud