All of
 help / color / mirror / Atom feed
From: Sebastian Andrzej Siewior <>
Cc: Josh Cartwright <>,
	Sebastian Andrzej Siewior <>,
	Thomas Gleixner <>
Subject: [PATCH] genirq: update irq_set_irqchip_state documentation
Date: Fri, 17 Sep 2021 12:30:55 +0200	[thread overview]
Message-ID: <> (raw)

From: Josh Cartwright <>

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 <>
Signed-off-by: Sebastian Andrzej Siewior <>
Signed-off-by: Thomas Gleixner <>
 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 66d51963e8375..7405e384e5ed0 100644
--- a/kernel/irq/manage.c
+++ b/kernel/irq/manage.c
@@ -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,

             reply	other threads:[~2021-09-17 10:31 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-17 10:30 Sebastian Andrzej Siewior [this message]
2021-09-17 12:19 ` [tip: irq/core] genirq: Update irq_set_irqchip_state documentation tip-bot2 for Josh Cartwright

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.