提交 ab883af5 编写于 作者: A Adrian Bunk 提交者: Linus Torvalds

make marker_debug static

With the needlessly global marker_debug being static gcc can optimize the
unused code away.
Signed-off-by: NAdrian Bunk <bunk@kernel.org>
Acked-by: NMathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Cc: Ingo Molnar <mingo@elte.hu>
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 148ff86b
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册