diff options
author | Punit Agrawal <punit.agrawal@arm.com> | 2014-09-01 17:16:01 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2014-09-12 17:38:58 +0100 |
commit | e918a62a2ba81d10a3cc2c513dc70034c9524a95 (patch) | |
tree | 6f2c9f379f791a251319be69149d0061b5672aeb /init | |
parent | a040803a9d6b8c1876d3487a5cb69602ebcbb82c (diff) |
ARM: 8135/1: Fix in-correct barrier usage in SWP{B} emulation
According to the ARM ARMv7, explicit barriers are necessary when using
synchronisation primitives such as SWP{B}. The use of these
instructions does not automatically imply a barrier and any ordering
requirements by the software must be explicitly expressed with the use
of suitable barriers.
Based on this, remove the barriers from SWP{B} emulation.
Acked-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Punit Agrawal <punit.agrawal@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions