aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/ftrace_irq.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/ftrace_irq.h')
-rw-r--r--include/linux/ftrace_irq.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/include/linux/ftrace_irq.h b/include/linux/ftrace_irq.h
new file mode 100644
index 000000000000..b1299d6729f2
--- /dev/null
+++ b/include/linux/ftrace_irq.h
@@ -0,0 +1,13 @@
1#ifndef _LINUX_FTRACE_IRQ_H
2#define _LINUX_FTRACE_IRQ_H
3
4
5#ifdef CONFIG_DYNAMIC_FTRACE
6extern 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 */