ftrace: Make FTRACE_WARN_ON() work in if condition
authorSteven Rostedt <srostedt@redhat.com>
Fri, 29 Apr 2011 14:36:31 +0000 (10:36 -0400)
committerSteven Rostedt <rostedt@goodmis.org>
Sat, 30 Apr 2011 02:52:52 +0000 (22:52 -0400)
commit0778d9ad33898faab7bf6316108b471790376e35
treec096fedf744e114a01acac52930f2bc8a741e863
parent32673822e440eb92eb334631eb0a199d0c532d13
ftrace: Make FTRACE_WARN_ON() work in if condition

Let FTRACE_WARN_ON() be used as a stand alone statement or
inside a conditional: if (FTRACE_WARN_ON(x))

Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
kernel/trace/ftrace.c