ftrace: Fix the conditional that updates $ref_func
authorMatt Fleming <matt@console-pimps.org>
Thu, 23 Jul 2009 16:16:14 +0000 (17:16 +0100)
committerSteven Rostedt <rostedt@goodmis.org>
Thu, 23 Jul 2009 16:20:08 +0000 (12:20 -0400)
commitfc4c73554c9d93b3e495f2f7acae1323b0d5db84
treea9635397f1c489a77ac398567c42a01e0c3bd06b
parent8650ae32ef7045e763825dee6256dde7f331bb85
ftrace: Fix the conditional that updates $ref_func

Fix the conditional that checks if we already have a $ref_func and that
the new function is weak. The code as previously checking whether either
condition was false, and we really need to only update $ref_func is both
cconditions are false.

Signed-off-by: Matt Fleming <matt@console-pimps.org>
LKML-Reference: <1248365775-25196-1-git-send-email-matt@console-pimps.org>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
scripts/recordmcount.pl