summaryrefslogtreecommitdiffstats
path: root/lib/locking-selftest-rtmutex.h
diff options
context:
space:
mode:
authorPeter Zijlstra <peterz@infradead.org>2017-05-31 11:11:49 -0400
committerIngo Molnar <mingo@kernel.org>2017-06-08 04:35:50 -0400
commit018956d6419be3e5ff5aacc60b2a3cff585adee1 (patch)
tree6ecde8e95a6fc80d93933ab0e4d8c8463ea3b1ce /lib/locking-selftest-rtmutex.h
parentcfb6133399a490419cda55fcdcf9dbbca65eacba (diff)
locking/selftest: Add RT-mutex support
Now that RT-mutex has lockdep annotations, add them to the selftest. Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: linux-kernel@vger.kernel.org Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'lib/locking-selftest-rtmutex.h')
-rw-r--r--lib/locking-selftest-rtmutex.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/locking-selftest-rtmutex.h b/lib/locking-selftest-rtmutex.h
new file mode 100644
index 000000000000..e3cb83989d16
--- /dev/null
+++ b/lib/locking-selftest-rtmutex.h
@@ -0,0 +1,11 @@
1#undef LOCK
2#define LOCK RTL
3
4#undef UNLOCK
5#define UNLOCK RTU
6
7#undef RLOCK
8#undef WLOCK
9
10#undef INIT
11#define INIT RTI