diff options
author | Romain Perier <romain.perier@gmail.com> | 2018-11-15 08:47:09 +0100 |
---|---|---|
committer | Romain Perier <romain.perier@gmail.com> | 2018-11-16 19:26:07 +0100 |
commit | b12aada85cf54a365cde5c52b4fd5575155966b9 (patch) | |
tree | c187626030e01e7ec96cf5dd2a62f322c2125255 /debian/patches-rt/rtmutex-export-lockdep-less-version-of-rt_mutex-s-lo.patch | |
parent | 998b27af2f5794afe8172b3a5edf472081223b8d (diff) | |
download | linux-debian-b12aada85cf54a365cde5c52b4fd5575155966b9.tar.gz |
[rt] Update to 4.19.1-rt3
Diffstat (limited to 'debian/patches-rt/rtmutex-export-lockdep-less-version-of-rt_mutex-s-lo.patch')
-rw-r--r-- | debian/patches-rt/rtmutex-export-lockdep-less-version-of-rt_mutex-s-lo.patch | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/debian/patches-rt/rtmutex-export-lockdep-less-version-of-rt_mutex-s-lo.patch b/debian/patches-rt/rtmutex-export-lockdep-less-version-of-rt_mutex-s-lo.patch index 9318e47c6..8e5394f99 100644 --- a/debian/patches-rt/rtmutex-export-lockdep-less-version-of-rt_mutex-s-lo.patch +++ b/debian/patches-rt/rtmutex-export-lockdep-less-version-of-rt_mutex-s-lo.patch @@ -2,7 +2,7 @@ From: Thomas Gleixner <tglx@linutronix.de> Date: Thu, 12 Oct 2017 16:36:39 +0200 Subject: rtmutex: export lockdep-less version of rt_mutex's lock, trylock and unlock -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19-rt1.tar.xz +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.1-rt3.tar.xz Required for lock implementation ontop of rtmutex. @@ -23,7 +23,7 @@ Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> +int __sched __rt_mutex_lock_state(struct rt_mutex *lock, int state) { might_sleep(); -+ return rt_mutex_fastlock(lock, state, NULL, rt_mutex_slowlock); ++ return rt_mutex_fastlock(lock, state, rt_mutex_slowlock); +} + +/** @@ -133,7 +133,7 @@ Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> * --- a/kernel/locking/rtmutex_common.h +++ b/kernel/locking/rtmutex_common.h -@@ -161,6 +161,9 @@ extern bool __rt_mutex_futex_unlock(stru +@@ -162,6 +162,9 @@ extern bool __rt_mutex_futex_unlock(stru extern void rt_mutex_postunlock(struct wake_q_head *wake_q); /* RW semaphore special interface */ |