Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp753346rwd; Wed, 31 May 2023 05:08:06 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ75Gh3JuRmbMiescJqid0krqKjcwLXU/ncFLINd+yjrNOxytmQ4Wu0c6YC/43GUur9ByyKN X-Received: by 2002:a05:6a21:32a2:b0:10d:12a8:c95b with SMTP id yt34-20020a056a2132a200b0010d12a8c95bmr5148066pzb.0.1685534885693; Wed, 31 May 2023 05:08:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685534885; cv=none; d=google.com; s=arc-20160816; b=jAD84vxTo7OGM+G08LQTPaRc1ImQzckma3kfP5le67NenwTAZovsppRjXvB1/kL1OV TYwhjoq6SVS/RwA/RoFtBLpPLJDzej36Fpi1XF3o3JybI6atmmHeVMsPPYtvzETW/Pn/ Dycx+Axqmv4SCJTNDD7HBqDLaFD9toBP5pqBvQG17asjC5Y3RBhvJO8HoIypZY13AUOD MWkErSrq5fWd42REor3iLGUKDskjt9wGvFXnxFNZvNdIwU3E+f8yDCa0jn1ax4w1nDsM hoKjZ0Y83TairKYJT3cY1xnMjlj3s9yN4uJ/TnL5ggaTv614YV4KshHmPktHa25BmJYY cSmA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:robot-unsubscribe :robot-id:message-id:mime-version:references:in-reply-to:cc:subject :to:reply-to:sender:from:dkim-signature:dkim-signature:date; bh=rNwUXukSEl/JgYnsL6fJJ1J4br3SvY99FMxfaCaZ3Cc=; b=xRd/D53Waf+EkVYK11+m0Mzd7xJGQAF2iJScBNS2MhAoNEplHTAHgERKwj22sVR0ff /9G8fuI0tNru9pbeiLe+kcudBjsNnPTVnUhPU0RA4kPOCaIGDH3gG/xcHZqhCWCOQsXZ 9PN3fK9tzMnV1NjEE0EPXB7/xvyydRZ2kW8Jw5kHtnjQlR9AxgAYuCGi0HAGKbKYfkvt QH8k1DFsh1ErZ1Q4pgqqdDfCdEsWLwp1CiMjruiXk5gVFabrXMjdyKVOQKEZmDZITBFt E7mj97U1rq3zvRF/Pwm9ibcQ2asoildi+UyPhA9Jg6JKjvMCZXSkA1iANivjH+ZD9DRP V7/w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=ak8GNogf; dkim=neutral (no key) header.i=@linutronix.de header.b=2my4tOoa; 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=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u190-20020a6385c7000000b0052856cec94csi802411pgd.877.2023.05.31.05.07.51; Wed, 31 May 2023 05:08:05 -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=@linutronix.de header.s=2020 header.b=ak8GNogf; dkim=neutral (no key) header.i=@linutronix.de header.b=2my4tOoa; 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=QUARANTINE dis=NONE) header.from=linutronix.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235574AbjEaMFD (ORCPT + 99 others); Wed, 31 May 2023 08:05:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55046 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235750AbjEaMEw (ORCPT ); Wed, 31 May 2023 08:04:52 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4C22910E; Wed, 31 May 2023 05:04:51 -0700 (PDT) Date: Wed, 31 May 2023 12:04:49 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1685534689; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=rNwUXukSEl/JgYnsL6fJJ1J4br3SvY99FMxfaCaZ3Cc=; b=ak8GNogfuNVQNKbMkypBkrAkC7i2N5ysg6AERNmOG1xL9bMdPZITw8/jD4uSFZc//0XUDu +nLSrLsx5FCIuxiIh8vt7aAKT13ep21jAsZreTviMSxXRXpHg75T6VhT260Fe+CaWElPjY hrqb8yvJXqgNXpwlNNXl+ZtlUCltNP1Nl1VRYa9+1uuqmAtc8fEBpOuxEhKq9EBFOQR2wD 6AA7yU7CS9h0X830qGzwe/bvXc9T684+VxaRupbNPxSWbGsy1muJ6k5TCF9nQIVoZ9yj4V Us9EQYXCaXTvyzpIhQBQ+yGOLxu21n9i/BTPTEG3HhsgwT8FdKwRepSK/Z3X6A== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1685534689; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=rNwUXukSEl/JgYnsL6fJJ1J4br3SvY99FMxfaCaZ3Cc=; b=2my4tOoarOyW6hz1DKRhNqMOuWC1U6c1qnlS5U59nXT36rJEqEB+OV/JGQySN0xR6/Ow0C K7kkkJpY0m6d2dDQ== From: "tip-bot2 for Arnd Bergmann" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: sched/core] sched: Make task_vruntime_update() prototype visible Cc: Arnd Bergmann , "Peter Zijlstra (Intel)" , Vincent Guittot , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20230522195021.3456768-5-arnd@kernel.org> References: <20230522195021.3456768-5-arnd@kernel.org> MIME-Version: 1.0 Message-ID: <168553468933.404.13669678273109677886.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 following commit has been merged into the sched/core branch of tip: Commit-ID: f7df852ad6dbb84644e75df7402d9a34f39f31bd Gitweb: https://git.kernel.org/tip/f7df852ad6dbb84644e75df7402d9a34f39f31bd Author: Arnd Bergmann AuthorDate: Mon, 22 May 2023 21:50:20 +02:00 Committer: Peter Zijlstra CommitterDate: Tue, 30 May 2023 22:46:26 +02:00 sched: Make task_vruntime_update() prototype visible Having the prototype next to the caller but not visible to the callee causes a W=1 warning: kernel/sched/fair.c:11985:6: error: no previous prototype for 'task_vruntime_update' [-Werror=missing-prototypes] Move this to a header, as we do for all other function declarations. Signed-off-by: Arnd Bergmann Signed-off-by: Peter Zijlstra (Intel) Reviewed-by: Vincent Guittot Link: https://lore.kernel.org/r/20230522195021.3456768-5-arnd@kernel.org --- kernel/sched/sched.h | 1 + 1 file changed, 1 insertion(+) diff --git a/kernel/sched/sched.h b/kernel/sched/sched.h index 192e781..ce07782 100644 --- a/kernel/sched/sched.h +++ b/kernel/sched/sched.h @@ -1245,6 +1245,7 @@ static inline raw_spinlock_t *__rq_lockp(struct rq *rq) bool cfs_prio_less(const struct task_struct *a, const struct task_struct *b, bool fi); +void task_vruntime_update(struct rq *rq, struct task_struct *p, bool in_fi); /* * Helpers to check if the CPU's core cookie matches with the task's cookie