mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-23 07:01:23 +00:00
[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>
This commit is contained in:
parent
5d6f647fc6
commit
a664089741
1 changed files with 2 additions and 2 deletions
|
@ -172,8 +172,8 @@ static int class_filter(struct lock_class *class)
|
||||||
!strcmp(class->name, "&struct->lockfield"))
|
!strcmp(class->name, "&struct->lockfield"))
|
||||||
return 1;
|
return 1;
|
||||||
#endif
|
#endif
|
||||||
/* Allow everything else. 0 would be filter everything else */
|
/* Filter everything else. 1 would be to allow everything else */
|
||||||
return 1;
|
return 0;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue