aboutsummaryrefslogtreecommitdiffstats
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-13 00:36:26 +0100
commit4be253ce99468013e9003a8885ae22f532db7789 (patch)
treefe3f0b779b64bec1e32b92b604dc46080a03d5e3
parent8e3d2e52018c2cf036764e7b45a3b74f1550ce54 (diff)
downloadrt-linux-4be253ce99468013e9003a8885ae22f532db7789.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>
-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 5b1ad63d6a660..fa823f297e540 100644
--- a/kernel/irq/manage.c
+++ b/kernel/irq/manage.c
@@ -2054,7 +2054,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,