1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _ASM_SCORE_ASMMACRO_H
3 #define _ASM_SCORE_ASMMACRO_H
5 #include <asm/asm-offsets.h>
13 /* if UMs == 1, change stack. */
20 addri r0
, r31
, -PT_SIZE
71 sw r31
, [r0
, PT_CONDITION
]
82 .macro RESTORE_ALL_AND_RET
108 lw r30
, [r0
, PT_CONDITION
]
161 #endif /* __ASSEMBLY__ */
162 #endif /* _ASM_SCORE_ASMMACRO_H */