mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-12 13:55:32 +00:00
![Steven Rostedt](/assets/img/avatar_default.png)
Impact: moving of function prototypes into own header file ftrace.h is too big of a file for hardirq.h, and some archs will fail to build because of the include dependencies not being met. This patch pulls out the required prototypes for hardirq.h into a smaller and safer ftrace_irq.h file. Signed-off-by: Steven Rostedt <srostedt@redhat.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
13 lines
296 B
C
13 lines
296 B
C
#ifndef _LINUX_FTRACE_IRQ_H
|
|
#define _LINUX_FTRACE_IRQ_H
|
|
|
|
|
|
#ifdef CONFIG_DYNAMIC_FTRACE
|
|
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 */
|