]> git.baikalelectronics.ru Git - kernel.git/commit
ARMv7: Enable the SWP instruction
authorCatalin Marinas <catalin.marinas@arm.com>
Sat, 30 May 2009 13:00:16 +0000 (14:00 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Sat, 30 May 2009 13:00:16 +0000 (14:00 +0100)
commita995275b1d9163f2c8fae61e9a621eb46a22d562
treeae439bbb35cfa5c96b8d658ea97359c761117e09
parente11a4689730ba3f42bc53d962890db559cb30b06
ARMv7: Enable the SWP instruction

The SWP instruction has been deprecated starting with the ARMv6
architecture. On ARMv7 processors with the multiprocessor extensions
(like Cortex-A9), this instruction is disabled by default but it can be
enabled by setting bit 10 in the System Control register. Note that
setting this bit is safe even if the ARMv7 processor has the SWP
instruction enabled by default.

Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm/mm/proc-v7.S