diff options
author | Peter Zijlstra <peterz@infradead.org> | 2017-05-31 17:11:49 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2017-06-08 10:35:50 +0200 |
commit | 018956d6419be3e5ff5aacc60b2a3cff585adee1 (patch) | |
tree | 6ecde8e95a6fc80d93933ab0e4d8c8463ea3b1ce /lib/locking-selftest-rtmutex.h | |
parent | cfb6133399a490419cda55fcdcf9dbbca65eacba (diff) | |
download | linux-018956d6419be3e5ff5aacc60b2a3cff585adee1.tar.bz2 |
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.h | 11 |
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 @@ +#undef LOCK +#define LOCK RTL + +#undef UNLOCK +#define UNLOCK RTU + +#undef RLOCK +#undef WLOCK + +#undef INIT +#define INIT RTI |