diff options
Diffstat (limited to 'features/rt/genirq-update-irq_set_irqchip_state-documentation.patch')
-rw-r--r-- | features/rt/genirq-update-irq_set_irqchip_state-documentation.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/features/rt/genirq-update-irq_set_irqchip_state-documentation.patch b/features/rt/genirq-update-irq_set_irqchip_state-documentation.patch new file mode 100644 index 00000000..d203983a --- /dev/null +++ b/features/rt/genirq-update-irq_set_irqchip_state-documentation.patch @@ -0,0 +1,31 @@ +From a7f1d1036ba191caf447313670c2d682537c6f51 Mon Sep 17 00:00:00 2001 +From: Josh Cartwright <joshc@ni.com> +Date: Thu, 11 Feb 2016 11:54:00 -0600 +Subject: [PATCH 174/191] 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> +--- + kernel/irq/manage.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/kernel/irq/manage.c b/kernel/irq/manage.c +index f4d18858d079..b279a8683c38 100644 +--- a/kernel/irq/manage.c ++++ b/kernel/irq/manage.c +@@ -2787,7 +2787,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, +-- +2.19.1 + |