X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=kernel%2Frtmutex.h;h=f6a1f3c133b12bbd3b0917f712d64f936615af0f;hb=1aa48895240f42166822763a8a2a7513100da233;hp=a1a1dd06421d05742e9e5a612b2b010cbdfa096c;hpb=b20e481ab595e9667c33e2393bdfe9a31870d11f;p=firefly-linux-kernel-4.4.55.git diff --git a/kernel/rtmutex.h b/kernel/rtmutex.h index a1a1dd06421d..f6a1f3c133b1 100644 --- a/kernel/rtmutex.h +++ b/kernel/rtmutex.h @@ -24,3 +24,8 @@ #define debug_rt_mutex_print_deadlock(w) do { } while (0) #define debug_rt_mutex_detect_deadlock(w,d) (d) #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"); +}