summaryrefslogtreecommitdiffstats
path: root/kernel/locking/lockdep_states.h
diff options
context:
space:
mode:
authorPeter Zijlstra <peterz@infradead.org>2013-10-31 18:14:17 +0100
committerIngo Molnar <mingo@kernel.org>2013-11-06 07:55:08 +0100
commit8eddac3f103736163f49255bcb109edadea167f6 (patch)
treecd3161b76bb7a7e2614817d0ba66446676e6b677 /kernel/locking/lockdep_states.h
parent01768b42dc97a67b4fb33a2535c49fc1969880df (diff)
downloadop-kernel-dev-8eddac3f103736163f49255bcb109edadea167f6.zip
op-kernel-dev-8eddac3f103736163f49255bcb109edadea167f6.tar.gz
locking: Move the lockdep code to kernel/locking/
Suggested-by: Ingo Molnar <mingo@kernel.org> Signed-off-by: Peter Zijlstra <peterz@infradead.org> Link: http://lkml.kernel.org/n/tip-wl7s3tta5isufzfguc23et06@git.kernel.org Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'kernel/locking/lockdep_states.h')
-rw-r--r--kernel/locking/lockdep_states.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/kernel/locking/lockdep_states.h b/kernel/locking/lockdep_states.h
new file mode 100644
index 0000000..995b0cc
--- /dev/null
+++ b/kernel/locking/lockdep_states.h
@@ -0,0 +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)
OpenPOWER on IntegriCloud