aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2006-12-13 03:34:39 -0500
committerLinus Torvalds <torvalds@woody.osdl.org>2006-12-13 12:05:50 -0500
commita664089741aa9010333ecbdadbf5d9de62bafa2d (patch)
tree067e1f096a9af6cf77ef179a6cdf44082768e89d /kernel
parent5d6f647fc6bb57377c9f417c4752e43189f56bb1 (diff)
[PATCH] lockdep: filter off by default
Fix typo in the class_filter() function. (filtering is not used by default so this only affects lockdep-internal debugging cases) Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'kernel')
-rw-r--r--kernel/lockdep.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/lockdep.c b/kernel/lockdep.c
index b02032476dc2..5d69c7d7407e 100644
--- a/kernel/lockdep.c
+++ b/kernel/lockdep.c
@@ -172,8 +172,8 @@ static int class_filter(struct lock_class *class)
172 !strcmp(class->name, "&struct->lockfield")) 172 !strcmp(class->name, "&struct->lockfield"))
173 return 1; 173 return 1;
174#endif 174#endif
175 /* Allow everything else. 0 would be filter everything else */ 175 /* Filter everything else. 1 would be to allow everything else */
176 return 1; 176 return 0;
177} 177}
178#endif 178#endif
179 179