From mboxrd@z Thu Jan 1 00:00:00 1970 From: Josh Cartwright Subject: [PATCH -rt 1/2] genirq: update irq_set_irqchip_state documentation Date: Thu, 11 Feb 2016 11:54:00 -0600 Message-ID: References: <20160211161025.GB28994@linutronix.de> Cc: "Jaggi, Manish" , linux-rt-users , Christoffer Dall To: Sebastian Andrzej Siewior Return-path: Received: from skprod3.natinst.com ([130.164.80.24]:56994 "EHLO ni.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751478AbcBKRyM (ORCPT ); Thu, 11 Feb 2016 12:54:12 -0500 In-Reply-To: <20160211161025.GB28994@linutronix.de> Sender: linux-rt-users-owner@vger.kernel.org List-ID: 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 --- 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 ba2a42a..8e89554 100644 --- a/kernel/irq/manage.c +++ b/kernel/irq/manage.c @@ -2060,7 +2060,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.7.0