projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] lockdep: locking API self tests
[powerpc.git]
/
lib
/
locking-selftest-wlock.h
diff --git a/lib/locking-selftest-wlock.h
b/lib/locking-selftest-wlock.h
new file mode 100644
(file)
index 0000000..
0815322
--- /dev/null
+++ b/
lib/locking-selftest-wlock.h
@@ -0,0
+1,14
@@
+#undef LOCK
+#define LOCK WL
+
+#undef UNLOCK
+#define UNLOCK WU
+
+#undef RLOCK
+#define RLOCK RL
+
+#undef WLOCK
+#define WLOCK WL
+
+#undef INIT
+#define INIT RWI