summaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
authorJeremy Kerr <jeremy.kerr@canonical.com>2010-07-22 17:34:34 +0200
committerRussell King <rmk+kernel@arm.linux.org.uk>2010-07-26 11:33:06 +0200
commite6b8b3e21a85b06b0617401f5ad8018b9927f6ac (patch)
tree426c339ad0bafb9b385900ee5e3791be0ed565cb /arch/arm
parentARM: 6259/1: arm/ns9xxx: fix debug macro compilation failure (diff)
downloadlinux-e6b8b3e21a85b06b0617401f5ad8018b9927f6ac.tar.xz
linux-e6b8b3e21a85b06b0617401f5ad8018b9927f6ac.zip
ARM: 6260/1: arm/plat-spear: fix debug macro compilation failure
mov rx, =<immediate> isn't valid, use #<immediate> instead. Signed-off-by: Jeremy Kerr <jeremy.kerr@canonical.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/plat-spear/include/plat/debug-macro.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/plat-spear/include/plat/debug-macro.S b/arch/arm/plat-spear/include/plat/debug-macro.S
index 1670734b7e51..37fa593884ee 100644
--- a/arch/arm/plat-spear/include/plat/debug-macro.S
+++ b/arch/arm/plat-spear/include/plat/debug-macro.S
@@ -17,8 +17,8 @@
.macro addruart, rx
mrc p15, 0, \rx, c1, c0
tst \rx, #1 @ MMU enabled?
- moveq \rx, =SPEAR_DBG_UART_BASE @ Physical base
- movne \rx, =VA_SPEAR_DBG_UART_BASE @ Virtual base
+ moveq \rx, #SPEAR_DBG_UART_BASE @ Physical base
+ movne \rx, #VA_SPEAR_DBG_UART_BASE @ Virtual base
.endm
.macro senduart, rd, rx