2018-08-27 14:32:32 +00:00
|
|
|
From: Josh Cartwright <joshc@ni.com>
|
|
|
|
Date: Thu, 11 Feb 2016 11:54:00 -0600
|
|
|
|
Subject: genirq: update irq_set_irqchip_state documentation
|
2018-08-31 15:16:36 +00:00
|
|
|
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.18/older/patches-4.18.5-rt3.tar.xz
|
2018-08-27 14:32:32 +00:00
|
|
|
|
|
|
|
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>
|
|
|
|
---
|
|
|
|
kernel/irq/manage.c | 2 +-
|
|
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
|
|
|
|
--- a/kernel/irq/manage.c
|
|
|
|
+++ b/kernel/irq/manage.c
|
|
|
|
@@ -2261,7 +2261,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,
|