linux/debian/patches-rt/0210-genirq-update-irq_set_...

36 lines
1.5 KiB
Diff
Raw Normal View History

2020-08-28 04:53:35 +00:00
From 16775ca6e980eaa415c3e9b3df3027832ed0d91b Mon Sep 17 00:00:00 2001
Message-Id: <16775ca6e980eaa415c3e9b3df3027832ed0d91b.1596234183.git.zanussi@kernel.org>
In-Reply-To: <378ee68279f6a7631221f2670a9298620148690d.1596234183.git.zanussi@kernel.org>
References: <378ee68279f6a7631221f2670a9298620148690d.1596234183.git.zanussi@kernel.org>
From: Josh Cartwright <joshc@ni.com>
Date: Thu, 11 Feb 2016 11:54:00 -0600
2020-07-15 20:05:29 +00:00
Subject: [PATCH 210/329] genirq: update irq_set_irqchip_state documentation
2020-08-28 04:53:35 +00:00
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.135-rt60.tar.xz
On -rt kernels, the use of migrate_disable()/migrate_enable() is
sufficient to guarantee a task isn't moved to another CPU. Update the
irq_set_irqchip_state() documentation to reflect this.
Signed-off-by: Josh Cartwright <joshc@ni.com>
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
---
2019-04-08 23:49:20 +00:00
kernel/irq/manage.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
2019-04-08 23:49:20 +00:00
diff --git a/kernel/irq/manage.c b/kernel/irq/manage.c
2020-08-28 04:53:35 +00:00
index 44ee91ca0088..09147749657f 100644
--- a/kernel/irq/manage.c
+++ b/kernel/irq/manage.c
2020-08-28 04:53:35 +00:00
@@ -2316,7 +2316,7 @@ EXPORT_SYMBOL_GPL(irq_get_irqchip_state);
* This call sets the internal irqchip state of an interrupt,
* depending on the value of @which.
*
- * This function should be called with preemption disabled if the
+ * This function should be called with migration disabled if the
* interrupt controller has per-cpu registers.
*/
int irq_set_irqchip_state(unsigned int irq, enum irqchip_irq_state which,
2020-01-03 23:36:11 +00:00
--
2020-06-22 13:14:16 +00:00
2.17.1
2020-01-03 23:36:11 +00:00