mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-15 14:36:46 +07:00
a81bd80a0b
Impact: clean up Now that a generic in_nmi is available, this patch removes the special code in the ring_buffer and implements the in_nmi generic version instead. With this change, I was also able to rename the "arch_ftrace_nmi_enter" back to "ftrace_nmi_enter" and remove the code from the ring buffer. Signed-off-by: Steven Rostedt <srostedt@redhat.com>
14 lines
298 B
C
14 lines
298 B
C
#ifndef _LINUX_FTRACE_IRQ_H
|
|
#define _LINUX_FTRACE_IRQ_H
|
|
|
|
|
|
#ifdef CONFIG_FTRACE_NMI_ENTER
|
|
extern void ftrace_nmi_enter(void);
|
|
extern void ftrace_nmi_exit(void);
|
|
#else
|
|
static inline void ftrace_nmi_enter(void) { }
|
|
static inline void ftrace_nmi_exit(void) { }
|
|
#endif
|
|
|
|
#endif /* _LINUX_FTRACE_IRQ_H */
|