From 018956d6419be3e5ff5aacc60b2a3cff585adee1 Mon Sep 17 00:00:00 2001 From: Peter Zijlstra Date: Wed, 31 May 2017 17:11:49 +0200 Subject: locking/selftest: Add RT-mutex support Now that RT-mutex has lockdep annotations, add them to the selftest. Signed-off-by: Peter Zijlstra (Intel) Cc: Linus Torvalds Cc: Peter Zijlstra Cc: Thomas Gleixner Cc: linux-kernel@vger.kernel.org Signed-off-by: Ingo Molnar --- lib/locking-selftest-rtmutex.h | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 lib/locking-selftest-rtmutex.h (limited to 'lib/locking-selftest-rtmutex.h') 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 -- cgit v1.2.3