summaryrefslogtreecommitdiff
path: root/kernel/irq
diff options
context:
space:
mode:
authorJosh Cartwright <joshc@ni.com>2016-02-11 11:54:00 -0600
committerDaniel Wagner <wagi@monom.org>2018-07-26 06:47:56 +0200
commit432c3a46e6374b95c1561d24ad0b92d4dfcb795e (patch)
tree4c87c94374c75e9e99413c0a996cd574ffc73d63 /kernel/irq
parent8c1d47eddc1b5ab6e5111c9451d917462d311aea (diff)
downloadlinux-rt-432c3a46e6374b95c1561d24ad0b92d4dfcb795e.tar.gz
genirq: update irq_set_irqchip_state documentation
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>
Diffstat (limited to 'kernel/irq')
-rw-r--r--kernel/irq/manage.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/irq/manage.c b/kernel/irq/manage.c
index ab1ec5b20887..2d810523e11c 100644
--- a/kernel/irq/manage.c
+++ b/kernel/irq/manage.c
@@ -2062,7 +2062,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,