ftrace: do not enclose logic in WARN_ON
authorSteven Rostedt <rostedt@goodmis.org>
Tue, 14 Oct 2008 22:08:48 +0000 (18:08 -0400)
committerIngo Molnar <mingo@elte.hu>
Mon, 20 Oct 2008 16:27:00 +0000 (18:27 +0200)
commitc513867561eeb07d24a0bdda1a18a8f91921a301
tree77a772903b6960306607ccd9e8dd1b7d665c71a9
parent3e10e879a8c334a5927d800a3663a24d562cfa31
ftrace: do not enclose logic in WARN_ON

In ftrace, logic is defined in the WARN_ON_ONCE, which can become a
nop with some configs. This patch fixes it.

Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/ftrace.c