diff options
author | Josh Cartwright <joshc@ni.com> | 2016-02-11 20:54:00 +0300 |
---|---|---|
committer | Minda Chen <minda.chen@starfivetech.com> | 2023-11-06 14:24:48 +0300 |
commit | a06dc8952021a6a6a864e6d2a976c10f5024eeee (patch) | |
tree | 7e8722318871314f55fb43295a662fc8df8b4760 | |
parent | 35b3d3742f8381b4794b63b6355feb9fce73cc8d (diff) | |
download | linux-a06dc8952021a6a6a864e6d2a976c10f5024eeee.tar.xz |
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>
Link: https://lkml.kernel.org/r/20210917103055.92150-1-bigeasy@linutronix.de
-rw-r--r-- | kernel/irq/manage.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/irq/manage.c b/kernel/irq/manage.c index 0f966288a648..894e4db1fffc 100644 --- a/kernel/irq/manage.c +++ b/kernel/irq/manage.c @@ -2833,7 +2833,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, |