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