summaryrefslogtreecommitdiffstats
path: root/arch/parisc/include/asm/ftrace.h
blob: 24cd81d58d706faafe469c10a85f1182a28b958a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef _ASM_PARISC_FTRACE_H
#define _ASM_PARISC_FTRACE_H

#ifndef __ASSEMBLY__
extern void mcount(void);

#define MCOUNT_INSN_SIZE 4

extern unsigned long return_address(unsigned int);

#define ftrace_return_address(n) return_address(n)

#endif /* __ASSEMBLY__ */

#endif /* _ASM_PARISC_FTRACE_H */