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)
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>

No differences found