diff options
author | Adrian Bunk <bunk@kernel.org> | 2008-04-30 03:54:30 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-04-30 11:29:49 -0400 |
commit | ab883af53ec1b87add43b32a28d8347f17d5155b (patch) | |
tree | 8019f7643f8c2065f1f26522e886b746b465d733 | |
parent | 148ff86b11ec51d7d2f7ff863bd85d0dd5aa908c (diff) |
make marker_debug static
With the needlessly global marker_debug being static gcc can optimize the
unused code away.
Signed-off-by: Adrian Bunk <bunk@kernel.org>
Acked-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Cc: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r-- | kernel/marker.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/marker.c b/kernel/marker.c index 139260e5460c..b5a9fe1d50d5 100644 --- a/kernel/marker.c +++ b/kernel/marker.c | |||
@@ -29,7 +29,7 @@ extern struct marker __start___markers[]; | |||
29 | extern struct marker __stop___markers[]; | 29 | extern struct marker __stop___markers[]; |
30 | 30 | ||
31 | /* Set to 1 to enable marker debug output */ | 31 | /* Set to 1 to enable marker debug output */ |
32 | const int marker_debug; | 32 | static const int marker_debug; |
33 | 33 | ||
34 | /* | 34 | /* |
35 | * markers_mutex nests inside module_mutex. Markers mutex protects the builtin | 35 | * markers_mutex nests inside module_mutex. Markers mutex protects the builtin |