summaryrefslogtreecommitdiff
path: root/arch/arm/include/asm/macro.h
diff options
context:
space:
mode:
authorYehuda Yitschak <yehuday@marvell.com>2014-10-27 14:07:16 +0200
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2014-10-28 07:57:31 +0100
commit59a9cfdd16ad7ab14f22697bf1e049c6bea0d3e2 (patch)
tree87b68da8668be891789a7c5b868cb40a6cc1b913 /arch/arm/include/asm/macro.h
parentb81fa615df129f29d343abb382392ca4ef17bdc6 (diff)
downloadu-boot-59a9cfdd16ad7ab14f22697bf1e049c6bea0d3e2.tar.gz
gic: fixed compilation error in GICv2 wait for interrupt macro
a hexadicemal value was missing the "0x" prefix which caused assembler error Signed-off-by: Yehuda Yitschak <yehuday@marvell.com>
Diffstat (limited to 'arch/arm/include/asm/macro.h')
-rw-r--r--arch/arm/include/asm/macro.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/include/asm/macro.h b/arch/arm/include/asm/macro.h
index 541b443254..1c8c4251ee 100644
--- a/arch/arm/include/asm/macro.h
+++ b/arch/arm/include/asm/macro.h
@@ -193,7 +193,7 @@ lr .req x30
0 : wfi
ldr \wreg2, [\xreg1, GICC_AIAR]
str \wreg2, [\xreg1, GICC_AEOIR]
- and \wreg2, \wreg2, #3ff
+ and \wreg2, \wreg2, #0x3ff
cbnz \wreg2, 0b
.endm
#endif