summaryrefslogtreecommitdiff
path: root/patches/preempt-nort-rt-variants.patch
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2021-07-07 22:23:55 +0200
committerThomas Gleixner <tglx@linutronix.de>2021-07-07 22:39:49 +0200
commitc8eff2bb1abeaf5d911fd8a66aed24a549f639c4 (patch)
treefcd29fe7e619bd1533fd6a3a1fbffc13fbe709f6 /patches/preempt-nort-rt-variants.patch
parentc6725e2f14b523bba0f8fe4472a07aaf8681ad75 (diff)
downloadlinux-rt-c8eff2bb1abeaf5d911fd8a66aed24a549f639c4.tar.gz
[ANNOUNCE] v5.13-rt1
Dear RT folks! I'm pleased to announce the v5.13-rt1 patch set. Changes since v5.12-rc3-rt3: - Fast forward to v5.13 - Rework of the locking core bits - Rework of large parts of the mm bits. Thanks to Mel Gorman and Vlastimil Babka for picking this up and polishing it with -mm wizardry. - The latest respin of the printk overhaul from John Ogness - Patch queue reordered Known issues - config dependent build fails on ARM (also in plain v5.13) - netconsole triggers WARN. You can get this release via the git tree at: git://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-rt-devel.git v5.13-rt1 The RT patch against v5.13 can be found here: https://cdn.kernel.org/pub/linux/kernel/projects/rt/5.13/patch-5.13-rt1.patch.xz The split quilt queue is available at: https://cdn.kernel.org/pub/linux/kernel/projects/rt/5.13/patches-5.13-rt1.tar.xz Thanks, tglx Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'patches/preempt-nort-rt-variants.patch')
-rw-r--r--patches/preempt-nort-rt-variants.patch47
1 files changed, 0 insertions, 47 deletions
diff --git a/patches/preempt-nort-rt-variants.patch b/patches/preempt-nort-rt-variants.patch
deleted file mode 100644
index 816e55ea561a..000000000000
--- a/patches/preempt-nort-rt-variants.patch
+++ /dev/null
@@ -1,47 +0,0 @@
-From: Thomas Gleixner <tglx@linutronix.de>
-Date: Fri, 24 Jul 2009 12:38:56 +0200
-Subject: preempt: Provide preempt_*_(no)rt variants
-
-RT needs a few preempt_disable/enable points which are not necessary
-otherwise. Implement variants to avoid #ifdeffery.
-
-Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
-
----
- include/linux/preempt.h | 18 +++++++++++++++++-
- 1 file changed, 17 insertions(+), 1 deletion(-)
-
---- a/include/linux/preempt.h
-+++ b/include/linux/preempt.h
-@@ -188,7 +188,11 @@ do { \
- preempt_count_dec(); \
- } while (0)
-
--#define preempt_enable_no_resched() sched_preempt_enable_no_resched()
-+#ifdef CONFIG_PREEMPT_RT
-+# define preempt_enable_no_resched() sched_preempt_enable_no_resched()
-+#else
-+# define preempt_enable_no_resched() preempt_enable()
-+#endif
-
- #define preemptible() (preempt_count() == 0 && !irqs_disabled())
-
-@@ -282,6 +286,18 @@ do { \
- set_preempt_need_resched(); \
- } while (0)
-
-+#ifdef CONFIG_PREEMPT_RT
-+# define preempt_disable_rt() preempt_disable()
-+# define preempt_enable_rt() preempt_enable()
-+# define preempt_disable_nort() barrier()
-+# define preempt_enable_nort() barrier()
-+#else
-+# define preempt_disable_rt() barrier()
-+# define preempt_enable_rt() barrier()
-+# define preempt_disable_nort() preempt_disable()
-+# define preempt_enable_nort() preempt_enable()
-+#endif
-+
- #ifdef CONFIG_PREEMPT_NOTIFIERS
-
- struct preempt_notifier;