summaryrefslogtreecommitdiffstats
path: root/debian/patches-rt/genirq-force-threading.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches-rt/genirq-force-threading.patch')
-rw-r--r--debian/patches-rt/genirq-force-threading.patch46
1 files changed, 0 insertions, 46 deletions
diff --git a/debian/patches-rt/genirq-force-threading.patch b/debian/patches-rt/genirq-force-threading.patch
deleted file mode 100644
index f692e5c92..000000000
--- a/debian/patches-rt/genirq-force-threading.patch
+++ /dev/null
@@ -1,46 +0,0 @@
-Subject: genirq: Force interrupt thread on RT
-From: Thomas Gleixner <tglx@linutronix.de>
-Date: Sun, 03 Apr 2011 11:57:29 +0200
-Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/5.2/older/patches-5.2.17-rt9.tar.xz
-
-Force threaded_irqs and optimize the code (force_irqthreads) in regard
-to this.
-
-Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
----
- include/linux/interrupt.h | 4 ++++
- kernel/irq/manage.c | 2 ++
- 2 files changed, 6 insertions(+)
-
---- a/include/linux/interrupt.h
-+++ b/include/linux/interrupt.h
-@@ -472,7 +472,11 @@ extern int irq_set_irqchip_state(unsigne
- bool state);
-
- #ifdef CONFIG_IRQ_FORCED_THREADING
-+# ifdef CONFIG_PREEMPT_RT_BASE
-+# define force_irqthreads (true)
-+# else
- extern bool force_irqthreads;
-+# endif
- #else
- #define force_irqthreads (0)
- #endif
---- a/kernel/irq/manage.c
-+++ b/kernel/irq/manage.c
-@@ -24,6 +24,7 @@
- #include "internals.h"
-
- #ifdef CONFIG_IRQ_FORCED_THREADING
-+# ifndef CONFIG_PREEMPT_RT_BASE
- __read_mostly bool force_irqthreads;
- EXPORT_SYMBOL_GPL(force_irqthreads);
-
-@@ -33,6 +34,7 @@ static int __init setup_forced_irqthread
- return 0;
- }
- early_param("threadirqs", setup_forced_irqthreads);
-+# endif
- #endif
-
- static void __synchronize_hardirq(struct irq_desc *desc, bool sync_chip)