summaryrefslogtreecommitdiffstats
path: root/include/linux/ftrace_irq.h
diff options
context:
space:
mode:
authorSteven Rostedt <srostedt@redhat.com>2009-02-06 01:45:16 -0500
committerSteven Rostedt <srostedt@redhat.com>2009-02-07 20:03:33 -0500
commita81bd80a0b0a405dc0483e2c428332d69da2c79f (patch)
tree8543662a0ad8199bde641c1fd4a42929d684ffaf /include/linux/ftrace_irq.h
parent9a5fd902273d01170fd033691bd70b142baa7309 (diff)
downloadlinux-a81bd80a0b0a405dc0483e2c428332d69da2c79f.tar.gz
linux-a81bd80a0b0a405dc0483e2c428332d69da2c79f.tar.bz2
linux-a81bd80a0b0a405dc0483e2c428332d69da2c79f.zip
ring-buffer: use generic version of in_nmi
Impact: clean up Now that a generic in_nmi is available, this patch removes the special code in the ring_buffer and implements the in_nmi generic version instead. With this change, I was also able to rename the "arch_ftrace_nmi_enter" back to "ftrace_nmi_enter" and remove the code from the ring buffer. Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Diffstat (limited to 'include/linux/ftrace_irq.h')
-rw-r--r--include/linux/ftrace_irq.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/include/linux/ftrace_irq.h b/include/linux/ftrace_irq.h
index 29de6779a963..dca7bf8cffe2 100644
--- a/include/linux/ftrace_irq.h
+++ b/include/linux/ftrace_irq.h
@@ -3,14 +3,6 @@
#ifdef CONFIG_FTRACE_NMI_ENTER
-extern void arch_ftrace_nmi_enter(void);
-extern void arch_ftrace_nmi_exit(void);
-#else
-static inline void arch_ftrace_nmi_enter(void) { }
-static inline void arch_ftrace_nmi_exit(void) { }
-#endif
-
-#ifdef CONFIG_RING_BUFFER
extern void ftrace_nmi_enter(void);
extern void ftrace_nmi_exit(void);
#else