From nobody Wed Dec 17 16:11:43 2025 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 118C7C05052 for ; Fri, 18 Aug 2023 08:48:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1358756AbjHRIrv (ORCPT ); Fri, 18 Aug 2023 04:47:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58998 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1358805AbjHRIrm (ORCPT ); Fri, 18 Aug 2023 04:47:42 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0FB883A94 for ; Fri, 18 Aug 2023 01:47:41 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 96EEB64228 for ; Fri, 18 Aug 2023 08:47:40 +0000 (UTC) Received: from [192.168.42.3] (194-45-78-10.static.kviknet.net [194.45.78.10]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp.kernel.org (Postfix) with ESMTPSA id 21695C433C8; Fri, 18 Aug 2023 08:47:37 +0000 (UTC) Subject: [PATCH] softirq: Adjust comment for CONFIG_PREEMPT_RT in #else From: Jesper Dangaard Brouer To: linux-kernel@vger.kernel.org, Thomas Gleixner Cc: Jesper Dangaard Brouer , Sebastian Andrzej Siewior , Paolo Abeni , Peter Zijlstra , netdev@vger.kernel.org Date: Fri, 18 Aug 2023 10:47:35 +0200 Message-ID: <169234845563.1636130.4897344550692792117.stgit@firesoul> User-Agent: StGit/1.4 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The #ifdef CONFIG_PREEMPT_RT #else statement had a comment that made me think the code below #else statement was RT code. After reading the code closer I realized it was not RT code. Adjust comment to !RT to helper future readers of the code. Fixes: 8b1c04acad08 ("softirq: Make softirq control and processing RT aware= ") Signed-off-by: Jesper Dangaard Brouer Reviewed-by: Sebastian Andrzej Siewior --- kernel/softirq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/softirq.c b/kernel/softirq.c index 807b34ccd797..b9a8384821b9 100644 --- a/kernel/softirq.c +++ b/kernel/softirq.c @@ -292,7 +292,7 @@ void do_softirq_post_smp_call_flush(unsigned int was_pe= nding) invoke_softirq(); } =20 -#else /* CONFIG_PREEMPT_RT */ +#else /* !CONFIG_PREEMPT_RT */ =20 /* * This one is for softirq.c-internal use, where hardirqs are disabled