mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-23 20:53:53 +08: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 */
|