summaryrefslogtreecommitdiffstats
path: root/kernel/lockdep_states.h
diff options
context:
space:
mode:
authorPeter Zijlstra <a.p.zijlstra@chello.nl>2009-01-22 14:18:40 +0100
committerIngo Molnar <mingo@elte.hu>2009-02-14 23:27:59 +0100
commit9851673bc32bc9fcafbbaeffc858ead434bd6d58 (patch)
tree96272ea6db6c2e38b35c86668abd2290bd18df9f /kernel/lockdep_states.h
parent5346417e17daf5a7712e4cf030b45414e46607cf (diff)
downloadlinux-9851673bc32bc9fcafbbaeffc858ead434bd6d58.tar.bz2
lockdep: move state bit definitions around
For convenience later. Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/lockdep_states.h')
-rw-r--r--kernel/lockdep_states.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/kernel/lockdep_states.h b/kernel/lockdep_states.h
index 937039ef2dd0..995b0cc2b84c 100644
--- a/kernel/lockdep_states.h
+++ b/kernel/lockdep_states.h
@@ -1,3 +1,9 @@
+/*
+ * Lockdep states,
+ *
+ * please update XXX_LOCK_USAGE_STATES in include/linux/lockdep.h whenever
+ * you add one, or come up with a nice dynamic solution.
+ */
LOCKDEP_STATE(HARDIRQ)
LOCKDEP_STATE(SOFTIRQ)
LOCKDEP_STATE(RECLAIM_FS)