ring-buffer: use generic version of in_nmi
authorSteven Rostedt <srostedt@redhat.com>
Fri, 6 Feb 2009 06:45:16 +0000 (01:45 -0500)
committerSteven Rostedt <srostedt@redhat.com>
Sun, 8 Feb 2009 01:03:33 +0000 (20:03 -0500)
commita81bd80a0b0a405dc0483e2c428332d69da2c79f
tree8543662a0ad8199bde641c1fd4a42929d684ffaf
parent9a5fd902273d01170fd033691bd70b142baa7309
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>
arch/x86/kernel/ftrace.c
include/linux/ftrace_irq.h
kernel/trace/ring_buffer.c