Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp5895859rwp; Mon, 17 Jul 2023 11:07:43 -0700 (PDT) X-Google-Smtp-Source: APBJJlG9jy6HGRTUQ2VBjPMvppI4wG16iQ2JeYA79M9FNyf519gm806se7BItFPfxfSV740iZ4fv X-Received: by 2002:a05:6402:8c5:b0:51d:9521:8084 with SMTP id d5-20020a05640208c500b0051d95218084mr10754171edz.2.1689617262792; Mon, 17 Jul 2023 11:07:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689617262; cv=none; d=google.com; s=arc-20160816; b=Dw9iKiAzY7JHAwuo8cPlZ/rt9JkL2WOT+AhIt0QJBM0S+yvoWCqBWrtVT/QlnFX9fr DmMiCOjU+zQRyEL1JZFjIbNV1GGbH6KXx6KynKQQYPcp5+pohgxcoKHzQspGdGGEWgrn 3YInshxk00UC4olXK6uXh15jWxlZoK4Pw7LAw72sGlSB5SYgOo2oaS2uFBY5N8JyuhsP xOv+DTiaNWcubDSWOzTlR784/cyOZ9GZDGQtkBhsATaRRZM4sB8M31o1amc3z/g976la dAsaDGLbf2yLBuB+H605jwviKP7n7OxISoEUyBVxqkfOguLnU1EA+etp8UDymyY8h6yK eBRw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=wmDFGzVTjLmAx4bt38GyANsv5x0bCr7MpY0WRdnrCnI=; fh=Ag0RbRk3LxdpQ9OdMLAf8hbnmFe6FOAHRGAvgVTwgEc=; b=tiR8J9tJQkn9WIqP0RkgbXwyew4c6plECyiYXk/b0oYTZjYhwOTIAZuCN45nntMfSv mCoVMCNI31NMZ/LtjTmoZokQYIGJCSo+E5ZuyWgjzxT5XpuFogW/Ll6xFg/UGr3NogOF OAso44PyRqfyN2tMt+WrElst7Q4Zo96gqB6vCI2aqdp4xRpaRwf46bg+u6TE5AThZlT+ gR+IT/lFLmFX6jkTRuZbRjfrI0FtVcILir9XPAU5gwVTiAqISGM07vL4ymPq0H9kc5EI EvL5JjTENo1lb620Lmjc0N1SQ7/cZ39/iumFY28XcCwuWoWB0AH1mW/J0aRIV7loGdS3 8etw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=cFVx6RCz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h2-20020aa7de02000000b0051dd4c55138si14154211edv.613.2023.07.17.11.07.17; Mon, 17 Jul 2023 11:07:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=cFVx6RCz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231131AbjGQSFU (ORCPT + 99 others); Mon, 17 Jul 2023 14:05:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35588 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230435AbjGQSFI (ORCPT ); Mon, 17 Jul 2023 14:05:08 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A08EF198E; Mon, 17 Jul 2023 11:04:56 -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 30508611D1; Mon, 17 Jul 2023 18:04:56 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 96001C433C7; Mon, 17 Jul 2023 18:04:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1689617095; bh=MFE5zfhf0lge+PlNtey6NsBHeE7FU1t9598D+2WWazI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=cFVx6RCzlCHQeu5P4ovX7IXKbUO7PwJTzL6RqFD51A2XX1zzsYJAwgrg6Ih3gegDL a6gZF/SS3K0imID7jRZ/7ZwKAS0TEBX2hWaiJK7KASXoITkTqX7FkJtCdVUvBrI/Ly cNzT907+NO7KGkvgVy6xCO7hHG5dSN+RsMgGplqFT49QwA/ph3RAya0PyHCjvxiimh voaiCHocjeuX2JOEj4PlPx0JWiYAbEowqDZFUmtSWPHNEakVacF/4Qi3L122l01azp JB3/hjA8G2X3uUcR/9FXy4IGUl22E6tAHO1wZEe8RaySkURFihswkgf/w46c857rza GJ1njkKZUTYgw== Received: by paulmck-ThinkPad-P17-Gen-1.home (Postfix, from userid 1000) id 575C5CE04CD; Mon, 17 Jul 2023 11:04:55 -0700 (PDT) From: "Paul E. McKenney" To: rcu@vger.kernel.org Cc: linux-kernel@vger.kernel.org, kernel-team@meta.com, rostedt@goodmis.org, "Paul E. McKenney" Subject: [PATCH rcu 2/5] rcu-tasks: Remove redundant #ifdef CONFIG_TASKS_RCU Date: Mon, 17 Jul 2023 11:04:51 -0700 Message-Id: <20230717180454.1097714-2-paulmck@kernel.org> X-Mailer: git-send-email 2.40.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The kernel/rcu/tasks.h file has a #endif immediately followed by an Signed-off-by: Paul E. McKenney --- kernel/rcu/tasks.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/kernel/rcu/tasks.h b/kernel/rcu/tasks.h index c88d7fe29d92..7eae67fbe47c 100644 --- a/kernel/rcu/tasks.h +++ b/kernel/rcu/tasks.h @@ -146,9 +146,7 @@ static struct rcu_tasks rt_name = \ #ifdef CONFIG_TASKS_RCU /* Track exiting tasks in order to allow them to be waited for. */ DEFINE_STATIC_SRCU(tasks_rcu_exit_srcu); -#endif -#ifdef CONFIG_TASKS_RCU /* Report delay in synchronize_srcu() completion in rcu_tasks_postscan(). */ static void tasks_rcu_exit_srcu_stall(struct timer_list *unused); static DEFINE_TIMER(tasks_rcu_exit_srcu_stall_timer, tasks_rcu_exit_srcu_stall); -- 2.40.1