From beb328783ef65f8a533f3eee12c21c55d64c35f3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Fran=C3=A7ois=20Tigeot?= Date: Thu, 21 May 2015 22:44:00 +0200 Subject: [PATCH] drm: Improve mutex_lock_interruptible() again It should really be interruptible by signals Spotted-by: dillon --- sys/dev/drm/include/linux/mutex.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/drm/include/linux/mutex.h b/sys/dev/drm/include/linux/mutex.h index ebd05bad35..d86c39aef8 100644 --- a/sys/dev/drm/include/linux/mutex.h +++ b/sys/dev/drm/include/linux/mutex.h @@ -39,7 +39,7 @@ static inline int mutex_lock_interruptible(struct lock *lock) { - if (lockmgr(lock, LK_EXCLUSIVE|LK_SLEEPFAIL)) + if (lockmgr(lock, LK_EXCLUSIVE|LK_SLEEPFAIL|LK_PCATCH)) return -EINTR; return 0; -- 2.11.4.GIT