Skip to content

Commit

Permalink
core: arm64: remove duplicate definition of THREAD_CTX_SIZE
Browse files Browse the repository at this point in the history
Following commit 1b302ac ("core: enable FF-A with SPM Core at
S-EL1"), the THREAD_CTX_SIZE macro is now defined twice on arm64
(in $(out-dir)/core/include/generated/asm-defines.h).

Kill the definition in the #ifdef ARM64 block and keep the common
one.

Signed-off-by: Jerome Forissier <[email protected]>
Reviewed-by: Jens Wiklander <[email protected]>
  • Loading branch information
jforissier committed Aug 30, 2021
1 parent c2e4eb4 commit b8ed3f0
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion core/arch/arm/kernel/asm-defines.c
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ DEFINES
DEFINE(THREAD_CTX_KERN_SP, offsetof(struct thread_ctx, kern_sp));
DEFINE(THREAD_CTX_STACK_VA_END, offsetof(struct thread_ctx,
stack_va_end));
DEFINE(THREAD_CTX_SIZE, sizeof(struct thread_ctx));

/* struct thread_ctx_regs */
DEFINE(THREAD_CTX_REGS_SP, offsetof(struct thread_ctx_regs, sp));
Expand Down

0 comments on commit b8ed3f0

Please sign in to comment.