| Date | Mon, 28 Apr 2008 08:37:42 -0400 | From | Mathieu Desnoyers <> | Subject | Re: [patch 27/37] From: Adrian Bunk <> |
| |
* Adrian Bunk (bunk@kernel.org) wrote: > Something went wrong with the Subject. >
Yes, the patch should look like this. Thanks!
Mathieu
make marker_debug static
With the needlessly global marker_debug being static gcc can optimize the unused code away.
From: Adrian Bunk <bunk@kernel.org> Signed-off-by: Adrian Bunk <bunk@kernel.org> Acked-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> ---
kernel/marker.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff -puN kernel/marker.c~make-marker_debug-static kernel/marker.c --- a/kernel/marker.c~make-marker_debug-static +++ a/kernel/marker.c @@ -28,7 +28,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 _ -- Mathieu Desnoyers OpenPGP key fingerprint: 8CD5 52C3 8E3C 4140 715F BA06 3F25 A8FE 3BAE 9A68
|