tracing: fix sparse warnings: make symbols static
authorHannes Eder <hannes@hanneseder.net>
Tue, 10 Feb 2009 18:44:12 +0000 (19:44 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 11 Feb 2009 09:15:41 +0000 (10:15 +0100)
commit4fd2735881bf4d8bf5e30979f31fc2f1b1d505fa
tree09f923acc762038aad786e1acf1065db9dd072eb
parent4040068dce64f75c9d414f41fc2fb314a44bad65
tracing: fix sparse warnings: make symbols static

Impact: make global variables and a global function static

The function '__trace_userstack' does not seem to have a caller, so it
is commented out.

Fix this sparse warnings:
  kernel/trace/trace.c:82:5: warning: symbol 'tracing_disabled' was not declared. Should it be static?
  kernel/trace/trace.c:600:10: warning: symbol 'trace_record_cmdline_disabled' was not declared. Should it be static?
  kernel/trace/trace.c:957:6: warning: symbol '__trace_userstack' was not declared. Should it be static?
  kernel/trace/trace.c:1694:5: warning: symbol 'tracing_release' was not declared. Should it be static?

Signed-off-by: Hannes Eder <hannes@hanneseder.net>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/trace/trace.c