1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _ASM_LOONGARCH_UNWIND_HINTS_H
3 #define _ASM_LOONGARCH_UNWIND_HINTS_H
5 #include <linux/objtool.h>
6 #include <asm/orc_types.h>
10 .macro UNWIND_HINT_UNDEFINED
11 UNWIND_HINT type
=UNWIND_HINT_TYPE_UNDEFINED
14 .macro UNWIND_HINT_END_OF_STACK
15 UNWIND_HINT type
=UNWIND_HINT_TYPE_END_OF_STACK
18 .macro UNWIND_HINT_REGS
19 UNWIND_HINT sp_reg
=ORC_REG_SP type
=UNWIND_HINT_TYPE_REGS
22 .macro UNWIND_HINT_FUNC
23 UNWIND_HINT sp_reg
=ORC_REG_SP type
=UNWIND_HINT_TYPE_CALL
26 #endif /* __ASSEMBLY__ */
28 #endif /* _ASM_LOONGARCH_UNWIND_HINTS_H */