aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosh Cartwright <joshc@ni.com>2016-02-11 11:54:00 -0600
committerSebastian Andrzej Siewior <bigeasy@linutronix.de>2016-02-12 23:58:34 +0100
commitfc74570c3da3cfc8e3f69f1ed36a1a68ca801ab9 (patch)
tree3a371fdcdcd2def376e2777b6542977f83ad5452
parent24f0211f3b27e26eb22c29155d7769d5d368ab25 (diff)
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>
-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 ba2a42a37025..8e89554aa345 100644
--- a/kernel/irq/manage.c
+++ b/kernel/irq/manage.c
@@ -2060,7 +2060,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,