diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2011-01-17 15:42:42 +0000 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2011-02-02 21:23:28 +0000 |
commit | 4ed67a53591db641543d57f31c182591a429dc93 (patch) | |
tree | 1e35ab3a934d96bb149d2bd9f10f70ca521cc361 /include/math-emu | |
parent | 7db44c75a241c18d03e82540c5b825216d4c668b (diff) | |
download | talos-obmc-linux-4ed67a53591db641543d57f31c182591a429dc93.tar.gz talos-obmc-linux-4ed67a53591db641543d57f31c182591a429dc93.zip |
ARM: v6k: select cmpxchg code sequences according to V6 variants
If CONFIG_CPU_V6 is enabled, we must avoid the byte/halfword/doubleword
exclusive operations, which aren't implemented before V6K. Use the
generic versions (or omit them) instead.
If CONFIG_CPU_V6 is not set, but CONFIG_CPU_32v6K is enabled, we have
the K extnesions, so use these new instructions.
Acked-by: Tony Lindgren <tony@atomide.com>
Tested-by: Sourav Poddar <sourav.poddar@ti.com>
Tested-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'include/math-emu')
0 files changed, 0 insertions, 0 deletions