blob: 366a054d0b05d25bc65f27cacc4b7a4660beb62e [file] [log] [blame]
Steven Rostedt6a60dd12008-11-06 15:55:21 -05001#ifndef _LINUX_FTRACE_IRQ_H
2#define _LINUX_FTRACE_IRQ_H
3
4
Frederic Weisbeckerfb526072008-11-25 21:07:04 +01005#if defined(CONFIG_DYNAMIC_FTRACE) || defined(CONFIG_FUNCTION_GRAPH_TRACER)
Steven Rostedt6a60dd12008-11-06 15:55:21 -05006extern void ftrace_nmi_enter(void);
7extern void ftrace_nmi_exit(void);
8#else
9static inline void ftrace_nmi_enter(void) { }
10static inline void ftrace_nmi_exit(void) { }
11#endif
12
13#endif /* _LINUX_FTRACE_IRQ_H */