summaryrefslogtreecommitdiff
path: root/tests/locking-selftest-mutex.h
diff options
context:
space:
mode:
authorAnanth N Mavinakayanahalli <ananth@in.ibm.com>2008-07-28 23:29:09 +0530
committerSam Ravnborg <sam@ravnborg.org>2008-07-28 21:40:01 +0200
commit8322958b20ecb4dd6fadf14586d80d30d6a45a41 (patch)
tree22e9cb1e9a138fd5e787e2649f92798a2ca64b95 /tests/locking-selftest-mutex.h
parenta4e7e33e50550d0f8b8f87487014527422a787af (diff)
Move locking selftests to tests/
Move the locking-selftest infrastructure to tests/ Signed-off-by: Ananth N Mavinakayanahalli <ananth@in.ibm.com> Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Diffstat (limited to 'tests/locking-selftest-mutex.h')
-rw-r--r--tests/locking-selftest-mutex.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/locking-selftest-mutex.h b/tests/locking-selftest-mutex.h
new file mode 100644
index 000000000000..68601b6f584b
--- /dev/null
+++ b/tests/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