Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp78808rdg; Tue, 10 Oct 2023 05:01:30 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGK/drRb2J8PeAovM8CFecsOtL0fdo2KopwOM1hinGdapWFdb61ph3m6pIcrRI0G4j1mZdw X-Received: by 2002:a05:6a20:ce9d:b0:154:4246:d63b with SMTP id if29-20020a056a20ce9d00b001544246d63bmr15252000pzb.25.1696939290434; Tue, 10 Oct 2023 05:01:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696939290; cv=none; d=google.com; s=arc-20160816; b=FqstQQ7uI0v4pm10SB5JbB6bSGGTQeEMBGDfdK7I3lZLRfDWyCJta8ZjMCAea7dRQj Gk2WMBa8DXgRdESDV0Wt8bUK5OCJ+aNcVlezRMQ9HWCj2KtS6Tfhr3dze+YEaqfB1c/d jemFnktBX+NHTJ7B5KrzGtqmSm92TpIi3J7Yw38xfbhqNH0rPYpJuFne7dQFztGT0wWy fKsXprrunbipvqwkjitC/GJ7Z9IIjZxmOfz6O/zvrnBM1TkQVFnv85hC91LZjQMlR5F7 JnXA7MjYPElZhyTg9rTYpjhzIZTnqZUQW0JquiQRY8/cQyA12I2Eck8LnRX7vuTH+imQ tNbQ== 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=vtA7ToElzzzalgYC3cLrBOwb6/Z2BXZDzvPHhnNaMy4=; fh=2TVQhL323dfLIofsRpGm8RVCXA05TKL3WSHTk53f+wg=; b=YVL3Q/FSs9zp0c2KHsW2sdOYdeuWMyhY0e38MpvdPXYvXfYOgIBNdMUT8KANonqfQU YS00HrIXtdW3O8fpEdH4z7PR+2iQomhM7x3o5fTNIG5llxN34FM5eSNBy7xhP7ttinC3 P9JXfghsnoz+Xo+PzOdEX/5qqlLyfIt1AAzOE4dftdgOSoloxVCKEFRajEnk1V5xnTAb QUuxe0DL63M/5bRYu0qoIn1DYSF7/PQjr7K19W0TsEbt4Qm9oaScHfrLOaLymzyWqV3p Aj1yB2TJmwU881v4Ixb/dr76RQNkCWdzHh7b1gPXRY4Ge1CJ+QpEtmpgwK68/5YVCHST N8Iw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=p2H6YDRO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 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 agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id t23-20020a656097000000b005898e10f9cbsi9236614pgu.572.2023.10.10.05.01.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Oct 2023 05:01:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=p2H6YDRO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id A9A7B807282F; Tue, 10 Oct 2023 05:00:09 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231630AbjJJL7x (ORCPT + 99 others); Tue, 10 Oct 2023 07:59:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47348 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231604AbjJJL7u (ORCPT ); Tue, 10 Oct 2023 07:59:50 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 08936E4; Tue, 10 Oct 2023 04:59:45 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 21591C433C7; Tue, 10 Oct 2023 11:59:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1696939185; bh=GE9U3gvNzMf7JPUQGgbJUlMwcLomHVh99nCtJR5L1+4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=p2H6YDROt4PXAwVCp/EPXQHKwR+d0QbgGGGJxGRNfuIgFZrO0QTCFXlbzLZqN/Kky ym9Dzava8Lp2B5c43ipJ5Z9KHqGyK+6sxOpKypQ3iHvU3yiifIU1QuGmmtRz4ZOx++ K0vmJCK80n/jG6HJvM/sYHd2LuAy8xuWEVt/5FE/Egyy+LuWhxzS0vv+mAhisN8Brv S3rR3w1qxQNAMnf8FHlN/P/qfJQYGXhu/ifLhEd5IGDW4/9ncKhZBBLGMbwQ6kJ2th XCjGLSF+9VVwj09CchQK5cNabuWYo+DRNA/CxAabUdhIN7SWZskcyxYJ8HFf8/nck+ 0W/nForttA74w== From: Frederic Weisbecker To: LKML Cc: Arnd Bergmann , Boqun Feng , Joel Fernandes , Josh Triplett , Mathieu Desnoyers , Neeraj Upadhyay , "Paul E . McKenney" , Steven Rostedt , Uladzislau Rezki , rcu , Frederic Weisbecker Subject: [PATCH 04/23] rcu: Include torture_sched_setaffinity() declaration Date: Tue, 10 Oct 2023 13:59:02 +0200 Message-Id: <20231010115921.988766-5-frederic@kernel.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231010115921.988766-1-frederic@kernel.org> References: <20231010115921.988766-1-frederic@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=2.4 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Tue, 10 Oct 2023 05:00:09 -0700 (PDT) X-Spam-Level: ** From: Arnd Bergmann The prototype for torture_sched_setaffinity() will be moved to a different header, which will need to be included from update.c to avoid this W=1 warning: kernel/rcu/update.c:529:6: error: no previous prototype for 'torture_sched_setaffinity' [-Werror=missing-prototypes] 529 | long torture_sched_setaffinity(pid_t pid, const struct cpumask *in_mask) Signed-off-by: Arnd Bergmann Reviewed-by: Joel Fernandes (Google) Signed-off-by: Paul E. McKenney Signed-off-by: Frederic Weisbecker --- kernel/rcu/update.c | 1 + 1 file changed, 1 insertion(+) diff --git a/kernel/rcu/update.c b/kernel/rcu/update.c index 19bf6fa3ee6a..9d3c2e6ba667 100644 --- a/kernel/rcu/update.c +++ b/kernel/rcu/update.c @@ -25,6 +25,7 @@ #include #include #include +#include #include #include #include -- 2.34.1