lkml.org 
[lkml]   [2006]   [Dec]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[patch] lockdep: clean up VERY_VERBOSE define
Subject: [patch] lockdep: clean up VERY_VERBOSE define
From: Ingo Molnar <mingo@elte.hu>

cleanup: the VERY_VERBOSE define was unnecessarily dependent
on #ifdef VERBOSE - while the VERBOSE switch is 0 or 1 (always
defined).

Signed-off-by: Ingo Molnar <mingo@elte.hu>
---
kernel/lockdep.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)

Index: linux/kernel/lockdep.c
===================================================================
--- linux.orig/kernel/lockdep.c
+++ linux/kernel/lockdep.c
@@ -152,9 +152,7 @@ EXPORT_SYMBOL(lockdep_internal);
*/

#define VERBOSE 0
-#ifdef VERBOSE
-# define VERY_VERBOSE 0
-#endif
+#define VERY_VERBOSE 0

#if VERBOSE
# define HARDIRQ_VERBOSE 1
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2006-12-07 10:31    [W:0.019 / U:16.620 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site