blob: 42b2c75a16459c027e6a31b3ac3ae0ce9af21667 [file] [log] [blame]
Andrew Scullb4b6d4a2019-01-02 15:54:55 +00001/* SPDX-License-Identifier: GPL-2.0 */
2#ifndef _ASM_PARISC_FTRACE_H
3#define _ASM_PARISC_FTRACE_H
4
5#ifndef __ASSEMBLY__
6extern void mcount(void);
7
8#define MCOUNT_INSN_SIZE 4
9
10extern unsigned long sys_call_table[];
11
12extern 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 */