lkml.org 
[lkml]   [2008]   [Apr]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: [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


\
 
 \ /
  Last update: 2008-04-28 14:41    [W:0.344 / U:0.140 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site