Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp4197872imm; Fri, 18 May 2018 00:38:46 -0700 (PDT) X-Google-Smtp-Source: AB8JxZrjyLWo9qBSwmaBHITRXGwyNNg/Nf2Kxjwlfi1PQkSeWmXvjO7XT39M1HFxlLbseA9zJrMN X-Received: by 2002:a65:42c3:: with SMTP id l3-v6mr6722696pgp.210.1526629126111; Fri, 18 May 2018 00:38:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526629126; cv=none; d=google.com; s=arc-20160816; b=CdES2LSH1NpHHwhXw3Kd08wYPZn/Izla8pqus85LlOkuUzdApnqkn0qHvkfLrvb877 z0PovZ4HNDfsZ/ZEmCVrFXZOf+tFzROGQIRr1Futl+KjkXRTH7Qs92HNmOYoOz1EbA/v yMWgtqaL6onZ+8j6L8ExTXhb2t7GbpBRYBA0knFzwTECaznV8V45jn4ANot8SWME4Dwi BxMjM45Wclg4pmzCJMOVDIOtuqzxqTVJN8ETNDDlqpOc/3X+sdwKv1xHOzf26HCEMA6W XS+uh6tBATlESn0v8jTNVIc577Mvbpuruuzj8pmpaKmnmq3YWePLaCY5/qvLR2nhqfF5 Ck9Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-disposition :content-transfer-encoding:mime-version:robot-unsubscribe:robot-id :git-commit-id:subject:to:references:in-reply-to:reply-to:cc :message-id:from:date:arc-authentication-results; bh=nuyPVDEQaKuKeNavhocV/WcnGRGfooGE33GvOpasWws=; b=YxERCQtKlZmfolvgt8gDRfAgLfaC2O2PH9Zzv8EAKxh+sHsNBq7cGkf+GylmKgp1Qj mCbX03li7sYVcqeiSnktF1cKXbRN+/d+UCFHc4faWRrqvVhZ0k9hUbM9F3ubgfBXNfuF 18SDKyBkXJb+Og8cBRAceQ40kXH0/H2xpyQspBlvRXZ673iN1XEQpcAhnZUX0UUumMnl Vk/AUM51rokC7ry4hZf207OBXolavG/fZReVEej1kxlTjydcZrkWldXcKcK6mddnWas0 z+L1hJDz0QW2JgoHYO2xSNws+i3LGfF6iL88HkT6drj5E8OhgHTPG7mZYJ3h50sL7sJy wNBw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z190-v6si5535548pgb.108.2018.05.18.00.38.31; Fri, 18 May 2018 00:38:46 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752395AbeERHht (ORCPT + 99 others); Fri, 18 May 2018 03:37:49 -0400 Received: from terminus.zytor.com ([198.137.202.136]:49447 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751049AbeERHhr (ORCPT ); Fri, 18 May 2018 03:37:47 -0400 Received: from terminus.zytor.com (localhost [127.0.0.1]) by terminus.zytor.com (8.15.2/8.15.2) with ESMTPS id w4I7bMAJ2344758 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 18 May 2018 00:37:22 -0700 Received: (from tipbot@localhost) by terminus.zytor.com (8.15.2/8.15.2/Submit) id w4I7bL4J2344755; Fri, 18 May 2018 00:37:21 -0700 Date: Fri, 18 May 2018 00:37:21 -0700 X-Authentication-Warning: terminus.zytor.com: tipbot set sender to tipbot@zytor.com using -f From: tip-bot for Mathieu Malaterre Message-ID: Cc: peterz@infradead.org, mingo@kernel.org, hpa@zytor.com, torvalds@linux-foundation.org, linux-kernel@vger.kernel.org, tglx@linutronix.de, malat@debian.org Reply-To: malat@debian.org, tglx@linutronix.de, linux-kernel@vger.kernel.org, torvalds@linux-foundation.org, hpa@zytor.com, mingo@kernel.org, peterz@infradead.org In-Reply-To: <20180516200902.959-1-malat@debian.org> References: <20180516200902.959-1-malat@debian.org> To: linux-tip-commits@vger.kernel.org Subject: [tip:sched/urgent] sched/deadline: Make the grub_reclaim() function static Git-Commit-ID: 3febfc8a219a036633b57a34c6678e21b6a0580d X-Mailer: tip-git-log-daemon Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00, T_DATE_IN_FUTURE_96_Q autolearn=ham autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on terminus.zytor.com Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Commit-ID: 3febfc8a219a036633b57a34c6678e21b6a0580d Gitweb: https://git.kernel.org/tip/3febfc8a219a036633b57a34c6678e21b6a0580d Author: Mathieu Malaterre AuthorDate: Wed, 16 May 2018 22:09:02 +0200 Committer: Ingo Molnar CommitDate: Fri, 18 May 2018 09:05:22 +0200 sched/deadline: Make the grub_reclaim() function static Since the grub_reclaim() function can be made static, make it so. Silences the following GCC warning (W=1): kernel/sched/deadline.c:1120:5: warning: no previous prototype for ‘grub_reclaim’ [-Wmissing-prototypes] Signed-off-by: Mathieu Malaterre Acked-by: Peter Zijlstra Cc: Linus Torvalds Cc: Thomas Gleixner Link: http://lkml.kernel.org/r/20180516200902.959-1-malat@debian.org Signed-off-by: Ingo Molnar --- kernel/sched/deadline.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/sched/deadline.c b/kernel/sched/deadline.c index d6196bc6cbb5..1356afd1eeb6 100644 --- a/kernel/sched/deadline.c +++ b/kernel/sched/deadline.c @@ -1117,7 +1117,7 @@ extern bool sched_rt_bandwidth_account(struct rt_rq *rt_rq); * should be larger than 2^(64 - 20 - 8), which is more than 64 seconds. * So, overflow is not an issue here. */ -u64 grub_reclaim(u64 delta, struct rq *rq, struct sched_dl_entity *dl_se) +static u64 grub_reclaim(u64 delta, struct rq *rq, struct sched_dl_entity *dl_se) { u64 u_inact = rq->dl.this_bw - rq->dl.running_bw; /* Utot - Uact */ u64 u_act;