aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/lockdep.h
diff options
context:
space:
mode:
authorPeter Zijlstra <a.p.zijlstra@chello.nl>2009-07-16 09:44:29 -0400
committerPeter Zijlstra <a.p.zijlstra@chello.nl>2009-07-24 04:53:29 -0400
commitaf012961450949ea297b209e091bd1a3805b8a0a (patch)
treed092a182ad014b4508079bacf416deb1e0650c01 /include/linux/lockdep.h
parent12f3dfd022d7e616757a94f0538d3d525d806a16 (diff)
lockdep: BFS cleanup
Some cleanups of the lockdep code after the BFS series: - Remove the last traces of the generation id - Fixup comment style - Move the bfs routines into lockdep.c - Cleanup the bfs routines [ tom.leiming@gmail.com: Fix crash ] Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl> LKML-Reference: <1246201486-7308-11-git-send-email-tom.leiming@gmail.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/linux/lockdep.h')
-rw-r--r--include/linux/lockdep.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/include/linux/lockdep.h b/include/linux/lockdep.h
index 9ec026f8d09e..12aabfcb45f6 100644
--- a/include/linux/lockdep.h
+++ b/include/linux/lockdep.h
@@ -58,7 +58,6 @@ struct lock_class {
58 58
59 struct lockdep_subclass_key *key; 59 struct lockdep_subclass_key *key;
60 unsigned int subclass; 60 unsigned int subclass;
61 unsigned int dep_gen_id;
62 61
63 /* 62 /*
64 * IRQ/softirq usage tracking bits: 63 * IRQ/softirq usage tracking bits:
@@ -150,9 +149,9 @@ struct lock_list {
150 struct stack_trace trace; 149 struct stack_trace trace;
151 int distance; 150 int distance;
152 151
153 /*The parent field is used to implement breadth-first search,and 152 /*
154 *the bit 0 is reused to indicate if the lock has been accessed 153 * The parent field is used to implement breadth-first search, and the
155 *in BFS. 154 * bit 0 is reused to indicate if the lock has been accessed in BFS.
156 */ 155 */
157 struct lock_list *parent; 156 struct lock_list *parent;
158}; 157};