[PATCH] ftrace: silence overly verbose warning

From: Stephen Rothwell
Date: Mon Aug 25 2008 - 21:45:01 EST


Signed-off-by: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx>
---
scripts/recordmcount.pl | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/scripts/recordmcount.pl b/scripts/recordmcount.pl
index ee9e126..ef0c6db 100755
--- a/scripts/recordmcount.pl
+++ b/scripts/recordmcount.pl
@@ -262,12 +262,12 @@ sub update_funcs

# only use locals if objcopy supports globalize-symbols
if (!$use_locals) {
- print STDERR
- "$inputfile: WARNING: referencing local function " .
- "$ref_func for mcount\n" .
- "\tConsider upgrading objcopy to support the globalize-" .
- "symbols option.\n"
- if (!$local_warn_once++);
+# print STDERR
+# "$inputfile: WARNING: referencing local function " .
+# "$ref_func for mcount\n" .
+# "\tConsider upgrading objcopy to support the globalize-" .
+# "symbols option.\n"
+# if (!$local_warn_once++);
return;
}
$convert{$ref_func} = 1;
--
1.5.6.3

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/