From 76cb841cb886eef6b3bee341a2266c76578724ad Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 6 May 2024 03:02:30 +0200 Subject: Adding upstream version 4.19.249. Signed-off-by: Daniel Baumann --- arch/parisc/include/asm/ftrace.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 arch/parisc/include/asm/ftrace.h (limited to 'arch/parisc/include/asm/ftrace.h') diff --git a/arch/parisc/include/asm/ftrace.h b/arch/parisc/include/asm/ftrace.h new file mode 100644 index 000000000..42b2c75a1 --- /dev/null +++ b/arch/parisc/include/asm/ftrace.h @@ -0,0 +1,18 @@ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _ASM_PARISC_FTRACE_H +#define _ASM_PARISC_FTRACE_H + +#ifndef __ASSEMBLY__ +extern void mcount(void); + +#define MCOUNT_INSN_SIZE 4 + +extern unsigned long sys_call_table[]; + +extern unsigned long return_address(unsigned int); + +#define ftrace_return_address(n) return_address(n) + +#endif /* __ASSEMBLY__ */ + +#endif /* _ASM_PARISC_FTRACE_H */ -- cgit v1.2.3