Merge tag 'trace-printf-v6.13' of git://git.kernel.org/pub/scm/linux/kernel/git/trace...
[drm/drm-misc.git] / arch / loongarch / include / asm / unwind_hints.h
bloba01086ad9ddea44fb964accfcbf00bf112e798a1
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>
8 #ifdef __ASSEMBLY__
10 .macro UNWIND_HINT_UNDEFINED
11 UNWIND_HINT type=UNWIND_HINT_TYPE_UNDEFINED
12 .endm
14 .macro UNWIND_HINT_END_OF_STACK
15 UNWIND_HINT type=UNWIND_HINT_TYPE_END_OF_STACK
16 .endm
18 .macro UNWIND_HINT_REGS
19 UNWIND_HINT sp_reg=ORC_REG_SP type=UNWIND_HINT_TYPE_REGS
20 .endm
22 .macro UNWIND_HINT_FUNC
23 UNWIND_HINT sp_reg=ORC_REG_SP type=UNWIND_HINT_TYPE_CALL
24 .endm
26 #endif /* __ASSEMBLY__ */
28 #endif /* _ASM_LOONGARCH_UNWIND_HINTS_H */