sunxi: Align PSCI stack calculation to comment
authorJan Kiszka <jan.kiszka@siemens.com>
Thu, 27 Nov 2014 08:38:50 +0000 (09:38 +0100)
committerHans de Goede <hdegoede@redhat.com>
Wed, 14 Jan 2015 13:56:36 +0000 (14:56 +0100)
0x400 is true 1K.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Acked-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Ian Campbell <ijc@hellion.org.uk>
arch/arm/cpu/armv7/sunxi/psci.S

index b9ea78b84e5479135b8bc1e5b306536dbf4e9c37..a84807d4e28b1254d1a6c15bf1d98f1d26d30f45 100644 (file)
@@ -68,7 +68,7 @@ psci_arch_init:
 
        mrc     p15, 0, r4, c0, c0, 5   @ MPIDR
        and     r4, r4, #3              @ cpu number in cluster
-       mov     r5, #400                @ 1kB of stack per CPU
+       mov     r5, #0x400              @ 1kB of stack per CPU
        mul     r4, r4, r5
 
        adr     r5, text_end            @ end of text