genirq: Update irq_set_irqchip_state documentation
authorJosh Cartwright <joshc@ni.com>
Fri, 17 Sep 2021 10:30:55 +0000 (12:30 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 17 Sep 2021 12:15:21 +0000 (14:15 +0200)
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>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/r/20210917103055.92150-1-bigeasy@linutronix.de
kernel/irq/manage.c

index 27667e82ecc9126fc8866932023a8c512046e9b6..b39248325541d7e70b6526272f4470a1a567624d 100644 (file)
@@ -2827,7 +2827,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,