mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-03 04:26:54 +07:00
2b7207a6b5
Signed-off-by: Sebastian Siewior <bigeasy@linutronix.de> Cc: Steven Rostedt <srostedt@redhat.co> Signed-off-by: Ingo Molnar <mingo@elte.hu>
15 lines
273 B
C
15 lines
273 B
C
#ifndef _ASM_X86_FTRACE
|
|
#define _ASM_X86_FTRACE
|
|
|
|
#ifdef CONFIG_FTRACE
|
|
#define MCOUNT_ADDR ((long)(mcount))
|
|
#define MCOUNT_INSN_SIZE 5 /* sizeof mcount call */
|
|
|
|
#ifndef __ASSEMBLY__
|
|
extern void mcount(void);
|
|
#endif
|
|
|
|
#endif /* CONFIG_FTRACE */
|
|
|
|
#endif /* _ASM_X86_FTRACE */
|