Skip to content

Commit e1a6af4

Browse files
Josh CartwrightKAGA-KOKO
authored andcommitted
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 <[email protected]> Signed-off-by: Sebastian Andrzej Siewior <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 6880fa6 commit e1a6af4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kernel/irq/manage.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2827,7 +2827,7 @@ EXPORT_SYMBOL_GPL(irq_get_irqchip_state);
28272827
* This call sets the internal irqchip state of an interrupt,
28282828
* depending on the value of @which.
28292829
*
2830-
* This function should be called with preemption disabled if the
2830+
* This function should be called with migration disabled if the
28312831
* interrupt controller has per-cpu registers.
28322832
*/
28332833
int irq_set_irqchip_state(unsigned int irq, enum irqchip_irq_state which,

0 commit comments

Comments
 (0)