]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
gic: fixed compilation error in GICv2 wait for interrupt macro
authorYehuda Yitschak <yehuday@marvell.com>
Mon, 27 Oct 2014 12:07:16 +0000 (14:07 +0200)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Tue, 28 Oct 2014 06:57:31 +0000 (07:57 +0100)
a hexadicemal value was missing the "0x" prefix which caused
assembler error

Signed-off-by: Yehuda Yitschak <yehuday@marvell.com>
arch/arm/include/asm/macro.h

index 541b4432549bf38b8c99504b6299ee4d87559e98..1c8c4251ee0cedde2a24d459be2109b9a1df749f 100644 (file)
@@ -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