VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   32 Branches   54 Tags
author: Ingo Molnar <mingo@elte.hu> 2006-07-03 00:24:48 -0700 committer: Linus Torvalds <torvalds@g5.osdl.org> 2006-07-03 15:27:03 -0700 commit: cae2ed9aa573415c6e5de9a09b7ff0d74af793bc parent: 1f194a4c393103ac925001d7e04b05fbb122580d
Commit Summary:
[PATCH] lockdep: locking API self tests
Diffstat:
1 file changed, 8 insertions, 0 deletions
diff --git a/lib/locking-selftest-mutex.h b/lib/locking-selftest-mutex.h
new file mode 100644
index 000000000000..68601b6f584b
--- /dev/null
+++ b/lib/locking-selftest-mutex.h
@@ -0,0 +1,11 @@
+#undef LOCK
+#define LOCK		ML
+
+#undef UNLOCK
+#define UNLOCK		MU
+
+#undef RLOCK
+#undef WLOCK
+
+#undef INIT
+#define INIT		MI