ARM: cache-v7: use movw/movt instructions
authorRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 3 Apr 2015 10:10:46 +0000 (11:10 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 14 Apr 2015 21:26:51 +0000 (22:26 +0100)
commit5aca370826a2487aaaae5db31f6bb0b906e9755f
tree345f23517edaff16eaeb7620bbf9030c83a16f20
parent89c6bc5884e52ec004f03071f268ba3f27003aba
ARM: cache-v7: use movw/movt instructions

We always build cache-v7.S for ARMv7, so we can use the ARMv7 16-bit
move instructions to load large constants, rather than using constants
in a literal pool.

Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mm/cache-v7.S