1 /* SPDX-License-Identifier: GPL-2.0 */
7 #include <asm/asm-offsets.h>
9 #ifdef CONFIG_SHADOW_CALL_STACK
12 .macro scs_load tsk, tmp
13 ldr scs_sp, [\tsk, #TSK_TI_SCS_SP]
16 .macro scs_save tsk, tmp
17 str scs_sp, [\tsk, #TSK_TI_SCS_SP]
20 .macro scs_load tsk, tmp
23 .macro scs_save tsk, tmp
25 #endif /* CONFIG_SHADOW_CALL_STACK */
27 #endif /* __ASSEMBLY __ */
29 #endif /* _ASM_SCS_H */