summaryrefslogtreecommitdiffstats
path: root/arch/arm/lib/io-writesl.S
diff options
context:
space:
mode:
authorVictor Kamensky <victor.kamensky@linaro.org>2014-02-25 08:41:09 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2014-02-25 11:33:57 +0000
commitd98b90ea22b0a28d9d787769704a9cf1ea5a513a (patch)
treeb971e6e8940621db94bb7e5f07aab6869bc3efef /arch/arm/lib/io-writesl.S
parent74c4137b2a9c73e7e6887ea1bac93d7012827012 (diff)
downloadblackbird-op-linux-d98b90ea22b0a28d9d787769704a9cf1ea5a513a.tar.gz
blackbird-op-linux-d98b90ea22b0a28d9d787769704a9cf1ea5a513a.zip
ARM: 7990/1: asm: rename logical shift macros push pull into lspush lspull
Renames logical shift macros, 'push' and 'pull', defined in arch/arm/include/asm/assembler.h, into 'lspush' and 'lspull'. That eliminates name conflict between 'push' logical shift macro and 'push' instruction mnemonic. That allows assembler.h to be included in .S files that use 'push' instruction. Suggested-by: Will Deacon <will.deacon@arm.com> Signed-off-by: Victor Kamensky <victor.kamensky@linaro.org> Acked-by: Nicolas Pitre <nico@linaro.org> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/lib/io-writesl.S')
-rw-r--r--arch/arm/lib/io-writesl.S12
1 files changed, 6 insertions, 6 deletions
diff --git a/arch/arm/lib/io-writesl.S b/arch/arm/lib/io-writesl.S
index 8d3b7813725c..d0d104a0dd11 100644
--- a/arch/arm/lib/io-writesl.S
+++ b/arch/arm/lib/io-writesl.S
@@ -41,26 +41,26 @@ ENTRY(__raw_writesl)
blt 5f
bgt 6f
-4: mov ip, r3, pull #16
+4: mov ip, r3, lspull #16
ldr r3, [r1], #4
subs r2, r2, #1
- orr ip, ip, r3, push #16
+ orr ip, ip, r3, lspush #16
str ip, [r0]
bne 4b
mov pc, lr
-5: mov ip, r3, pull #8
+5: mov ip, r3, lspull #8
ldr r3, [r1], #4
subs r2, r2, #1
- orr ip, ip, r3, push #24
+ orr ip, ip, r3, lspush #24
str ip, [r0]
bne 5b
mov pc, lr
-6: mov ip, r3, pull #24
+6: mov ip, r3, lspull #24
ldr r3, [r1], #4
subs r2, r2, #1
- orr ip, ip, r3, push #8
+ orr ip, ip, r3, lspush #8
str ip, [r0]
bne 6b
mov pc, lr
OpenPOWER on IntegriCloud