xref: /openbmc/linux/arch/parisc/include/asm/ftrace.h (revision 9fb29c73)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _ASM_PARISC_FTRACE_H
3 #define _ASM_PARISC_FTRACE_H
4 
5 #ifndef __ASSEMBLY__
6 extern void mcount(void);
7 
8 #define MCOUNT_INSN_SIZE 4
9 
10 extern unsigned long sys_call_table[];
11 
12 extern unsigned long return_address(unsigned int);
13 
14 #define ftrace_return_address(n) return_address(n)
15 
16 #endif /* __ASSEMBLY__ */
17 
18 #endif /* _ASM_PARISC_FTRACE_H */
19