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

29 lines
1.2 KiB
Diff
Raw Normal View History

From: Josh Cartwright <joshc@ni.com>
Date: Thu, 11 Feb 2016 11:54:00 -0600
2019-11-25 00:04:39 +00:00
Subject: [PATCH 211/290] genirq: update irq_set_irqchip_state documentation
Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=8b11399a6330d802b28290410bb88dd784a962e2
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
2019-11-25 00:04:39 +00:00
index 3858ac895777..5701774a6d71 100644
--- a/kernel/irq/manage.c
+++ b/kernel/irq/manage.c
2019-11-25 00:04:39 +00:00
@@ -2330,7 +2330,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,