summaryrefslogtreecommitdiff
path: root/src/arch/arm
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/arm')
-rw-r--r--src/arch/arm/cpu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/arm/cpu.c b/src/arch/arm/cpu.c
index fae1a37efc..93d5675f35 100644
--- a/src/arch/arm/cpu.c
+++ b/src/arch/arm/cpu.c
@@ -39,7 +39,7 @@ struct cpu_info *cpu_info(void)
"feature, make sure you add the proper assertions " \
"(and maybe consider revising the whole thing to work closer to what " \
"arm64 is doing now)."
- uintptr_t addr = ALIGN((uintptr_t)__builtin_frame_address(0),
+ uintptr_t addr = ALIGN_UP((uintptr_t)__builtin_frame_address(0),
CONFIG_STACK_SIZE);
addr -= sizeof(struct cpu_info);
return (void *)addr;