From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B3464C433EF for ; Fri, 17 Sep 2021 10:31:08 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 9B7BD610A6 for ; Fri, 17 Sep 2021 10:31:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243110AbhIQKc2 (ORCPT ); Fri, 17 Sep 2021 06:32:28 -0400 Received: from Galois.linutronix.de ([193.142.43.55]:53656 "EHLO galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242755AbhIQKc1 (ORCPT ); Fri, 17 Sep 2021 06:32:27 -0400 From: Sebastian Andrzej Siewior DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1631874665; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=IR8Ng4fhoQHPpGURW+GUb6/Kndm5lOFHod7KuVPCeo0=; b=Bg8fCl51xwdHOJoKkzMCKmnLcEI9ul1E138mmixwE1ws5vg7UXlYAJ8cYTMpqE4FY+cbTw RLypLzM4vNFxL2VcZTRiLdmi+n4UVFWHsp/gEVU/nLm4Du4Ss1PYyGe6RCZorLMLUZ1y5D Utpo+jeegQbTDc5br6GZoIFPMfWtCqHQuWxPptCs1M1hxz+NGt0jgZs9tGrTwqLTgrICIj Q5/pCpnfp8dVFRWvQcO8rHgvHTMqVNcNRnqUxVifvd1K1zffQlcoUNywvGCijO4Rl2irp3 Hsh+EdRA27a0hSl42Ys3FASLIh/LAhYKFs8+leZF6ULzO02y1SodxLqBcTy0eg== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1631874665; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=IR8Ng4fhoQHPpGURW+GUb6/Kndm5lOFHod7KuVPCeo0=; b=cJaaYOeuBvPFZLkYRZQLHDjMLlAEK+90WPRHRppxIJqXfShIvPuTsNhyis1ooZLSP6ghPW vtbP8bcs8cOVVTCQ== To: linux-kernel@vger.kernel.org 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 Message-Id: <20210917103055.92150-1-bigeasy@linutronix.de> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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, --=20 2.33.0