arch/arm64: make sure regs_context is aligned to 16
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
This commit is contained in:
parent
800501f44f
commit
caa94ef64b
@ -165,7 +165,7 @@ extern "C"
|
||||
EXTERN char sym[n][size]
|
||||
|
||||
#define STACK_PTR_TO_FRAME(type, ptr) \
|
||||
(type *)((uintptr_t)(ptr) - sizeof(type))
|
||||
(type *)STACK_ALIGN_DOWN((uintptr_t)(ptr) - sizeof(type))
|
||||
|
||||
#define INTSTACK_SIZE (CONFIG_ARCH_INTERRUPTSTACK & ~STACK_ALIGN_MASK)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user