summaryrefslogtreecommitdiffstats
path: root/debian/patches-rt/preempt-nort-rt-variants.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches-rt/preempt-nort-rt-variants.patch')
-rw-r--r--debian/patches-rt/preempt-nort-rt-variants.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/debian/patches-rt/preempt-nort-rt-variants.patch b/debian/patches-rt/preempt-nort-rt-variants.patch
index d859f8bbe..a168f5e7c 100644
--- a/debian/patches-rt/preempt-nort-rt-variants.patch
+++ b/debian/patches-rt/preempt-nort-rt-variants.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx@linutronix.de>
Date: Fri, 24 Jul 2009 12:38:56 +0200
Subject: preempt: Provide preempt_*_(no)rt variants
-Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/5.0/older/patches-5.0.10-rt7.tar.xz
+Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/5.2/older/patches-5.2-rt1.tar.xz
RT needs a few preempt_disable/enable points which are not necessary
otherwise. Implement variants to avoid #ifdeffery.
@@ -14,7 +14,7 @@ Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
--- a/include/linux/preempt.h
+++ b/include/linux/preempt.h
-@@ -178,7 +178,11 @@ do { \
+@@ -187,7 +187,11 @@ do { \
preempt_count_dec(); \
} while (0)
@@ -27,7 +27,7 @@ Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
#define preemptible() (preempt_count() == 0 && !irqs_disabled())
-@@ -295,6 +299,18 @@ do { \
+@@ -304,6 +308,18 @@ do { \
set_preempt_need_resched(); \
} while (0)