Commit fddeca63 authored by Thomas Gleixner's avatar Thomas Gleixner

Merge branch 'locking/urgent' into locking/core

Reason: Required to add more rtmutex robustness changes on top of
those already in mainline.
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
parents 22fdcf02 27e35715
...@@ -31,3 +31,8 @@ static inline int debug_rt_mutex_detect_deadlock(struct rt_mutex_waiter *waiter, ...@@ -31,3 +31,8 @@ static inline int debug_rt_mutex_detect_deadlock(struct rt_mutex_waiter *waiter,
{ {
return (waiter != NULL); return (waiter != NULL);
} }
static inline void rt_mutex_print_deadlock(struct rt_mutex_waiter *w)
{
debug_rt_mutex_print_deadlock(w);
}
This diff is collapsed.
...@@ -24,3 +24,8 @@ ...@@ -24,3 +24,8 @@
#define debug_rt_mutex_print_deadlock(w) do { } while (0) #define debug_rt_mutex_print_deadlock(w) do { } while (0)
#define debug_rt_mutex_detect_deadlock(w,d) (d) #define debug_rt_mutex_detect_deadlock(w,d) (d)
#define debug_rt_mutex_reset_waiter(w) do { } while (0) #define debug_rt_mutex_reset_waiter(w) do { } while (0)
static inline void rt_mutex_print_deadlock(struct rt_mutex_waiter *w)
{
WARN(1, "rtmutex deadlock detected\n");
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment