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