summaryrefslogtreecommitdiffstats
path: root/debian/patches-rt/0173-locking-rtmutex-add-rwsem-implementation-based-on-rt.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches-rt/0173-locking-rtmutex-add-rwsem-implementation-based-on-rt.patch')
-rw-r--r--debian/patches-rt/0173-locking-rtmutex-add-rwsem-implementation-based-on-rt.patch10
1 files changed, 5 insertions, 5 deletions
diff --git a/debian/patches-rt/0173-locking-rtmutex-add-rwsem-implementation-based-on-rt.patch b/debian/patches-rt/0173-locking-rtmutex-add-rwsem-implementation-based-on-rt.patch
index d1595ab45..a3649db63 100644
--- a/debian/patches-rt/0173-locking-rtmutex-add-rwsem-implementation-based-on-rt.patch
+++ b/debian/patches-rt/0173-locking-rtmutex-add-rwsem-implementation-based-on-rt.patch
@@ -1,9 +1,9 @@
-From 9095a37abced402fb5197fef8d126069f63ebfb4 Mon Sep 17 00:00:00 2001
+From daacf58f8a5cd99064f871cd9573582d96b04535 Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Thu, 12 Oct 2017 17:28:34 +0200
Subject: [PATCH 173/323] locking/rtmutex: add rwsem implementation based on
rtmutex
-Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/5.10/older/patches-5.10.204-rt100.tar.xz
+Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/5.10/older/patches-5.10.215-rt107.tar.xz
The RT specific R/W semaphore implementation restricts the number of readers
to one because a writer cannot block on multiple readers and inherit its
@@ -52,7 +52,7 @@ Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
diff --git a/include/linux/rwsem-rt.h b/include/linux/rwsem-rt.h
new file mode 100644
-index 000000000000..0ba8aae9a198
+index 0000000000000..0ba8aae9a1983
--- /dev/null
+++ b/include/linux/rwsem-rt.h
@@ -0,0 +1,70 @@
@@ -128,7 +128,7 @@ index 000000000000..0ba8aae9a198
+#endif
diff --git a/kernel/locking/rwsem-rt.c b/kernel/locking/rwsem-rt.c
new file mode 100644
-index 000000000000..a0771c150041
+index 0000000000000..a0771c150041e
--- /dev/null
+++ b/kernel/locking/rwsem-rt.c
@@ -0,0 +1,318 @@
@@ -451,5 +451,5 @@ index 000000000000..a0771c150041
+ __up_write_unlock(sem, WRITER_BIAS - 1, flags);
+}
--
-2.43.0
+2.44.0