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