From: "Luis R. Rodriguez" <mcgrof@xxxxxxxxxxxxxxxx> Two returns were missing on the ww_mutex backport, add these. The enhancements are not supported on older kernels so just bail out early. Signed-off-by: Luis R. Rodriguez <mcgrof@xxxxxxxxxxxxxxxx> --- backport/compat/kernel/ww_mutex.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/backport/compat/kernel/ww_mutex.c b/backport/compat/kernel/ww_mutex.c index 257c2a4..204ac8f 100644 --- a/backport/compat/kernel/ww_mutex.c +++ b/backport/compat/kernel/ww_mutex.c @@ -206,10 +206,12 @@ static void mspin_unlock(struct mspin_node **lock, struct mspin_node *node) static inline bool owner_running(struct mutex *lock, struct task_struct *owner) { + return false; } int mutex_spin_on_owner(struct mutex *lock, struct task_struct *owner) { + return 1; } static inline int mutex_can_spin_on_owner(struct mutex *lock) -- 1.7.10.4 -- To unsubscribe from this list: send the line "unsubscribe backports" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html