2008-11-06 15:55:21 -05:00
|
|
|
#ifndef _LINUX_FTRACE_IRQ_H
|
|
|
|
#define _LINUX_FTRACE_IRQ_H
|
|
|
|
|
|
|
|
|
2008-11-25 15:07:04 -05:00
|
|
|
#if defined(CONFIG_DYNAMIC_FTRACE) || defined(CONFIG_FUNCTION_GRAPH_TRACER)
|
2008-11-06 15:55:21 -05:00
|
|
|
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 */
|