summaryrefslogtreecommitdiffstats
path: root/kernel/marker.c
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@kernel.org>2008-04-30 09:54:30 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2008-04-30 17:29:49 +0200
commitab883af53ec1b87add43b32a28d8347f17d5155b (patch)
tree8019f7643f8c2065f1f26522e886b746b465d733 /kernel/marker.c
parentmxser: convert large macros to functions (diff)
downloadlinux-ab883af53ec1b87add43b32a28d8347f17d5155b.tar.xz
linux-ab883af53ec1b87add43b32a28d8347f17d5155b.zip
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>
Diffstat (limited to 'kernel/marker.c')
-rw-r--r--kernel/marker.c2
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[];
extern struct marker __stop___markers[];
/* Set to 1 to enable marker debug output */
-const int marker_debug;
+static const int marker_debug;
/*
* markers_mutex nests inside module_mutex. Markers mutex protects the builtin