Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp2456132imm; Wed, 16 May 2018 13:10:53 -0700 (PDT) X-Google-Smtp-Source: AB8JxZodAg0wJQL2kdAFMOWFRBdyDS+ZX3cLdb3yd7PY97gjvLLp7ZOICTNxQyaFFXeGVl6G1G2y X-Received: by 2002:a63:b046:: with SMTP id z6-v6mr1826555pgo.16.1526501453328; Wed, 16 May 2018 13:10:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526501453; cv=none; d=google.com; s=arc-20160816; b=xKItAk92wPhgbO4pyUAv6//c3V8uJ2awWNjLwHpah7F64CrVkW6w0PpbnaKTS1PQ09 Sm6IFS7S0cCmSuAjWK0UeaLNMnyColWK7ygLtsz1N53sNMYfuIFIWvtk3fwnjluNrZQ1 Tl+1pxgqrJWw0FxOUC6szzcei4WZBkCGXX+Dzw0NfnaCvgrInp/41a9PtoyOlB3FWu0p gITCM4Mym9kc/3ZBfjshZKpK7VsQt1ZRxYNKAOCWcjLwpVtTkIXN2ZttdWA+1vqA0tGp B+2thsajDkX1LhwaLmVODeQZGuqre5VaCUb0cYiVcjdV0GGWzfyMhWcVetVbeOm3uc3r 2nAA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=xMdelwP1Dom1QL6sV81a/5MD3tBNmLIH9DIQ9kz52aI=; b=YZbXYDorCq+gPQgf03vUXsAaLA7wZirhzKt745sQyrupyvjd7PQhHdV6hiVACoqb5K +So6tNDdBpc+Rb4PV3J2zNXdAe5/TjwTd06p90YdSvjOof6UwTPaXnkk9AAoBk3XVzer c9m+W6xRlid3KCvQ5nCIrAatvO9XrHcjd5/jOft3yjwv72HOu9VeB9mWYC68ogA0dA5Q 9QWNy2u/rS73dq+ZTEZn+7tgbhhp0HhxJDZ3oWnkDZplJuVAJvS/un+NHEsQoLAA5W+f QAdl9BEK0YdtCYEmLWstITUlfDCaGLfKBHbMM0D43TzYpjwRRkQUUS+6T76pOhU+I8Sp /cdw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=PKJtdt/R; 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 y11-v6si2631540pgo.193.2018.05.16.13.10.39; Wed, 16 May 2018 13:10:53 -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; dkim=fail header.i=@gmail.com header.s=20161025 header.b=PKJtdt/R; 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 S1751485AbeEPUJH (ORCPT + 99 others); Wed, 16 May 2018 16:09:07 -0400 Received: from mail-wm0-f67.google.com ([74.125.82.67]:52766 "EHLO mail-wm0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750924AbeEPUJG (ORCPT ); Wed, 16 May 2018 16:09:06 -0400 Received: by mail-wm0-f67.google.com with SMTP id w194-v6so4351336wmf.2 for ; Wed, 16 May 2018 13:09:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=xMdelwP1Dom1QL6sV81a/5MD3tBNmLIH9DIQ9kz52aI=; b=PKJtdt/RYgU3TacJzZ/2mMqgXGkjedPSA9GIsyts0HKea267qnihbpX8CzQmll3Srw Ko8OY6T85EwekIARHMxQDi70lwib3iE+XfOhoqr27L4tKZ41WQR303hPAlNXBbI5aECe ferDX9y25prJEpPB1TfLVIr2BZ/SeOwhMMRrUxCeadGU2CR7mGD2lI0DWFVs7OX09WCI aZ1/+XqJ3/NECZ3akc639ryC9zs7tgS2yrl7OOCcCNRstzCaYzKF/wgU5jkNIaSX9YOI HJ0SwDU4Swznh3uAEqUm1biQa5S3ZiAnc5smWBmqrETstT5hbEyCSYeIsY5/tR4wdfRL beTQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :mime-version:content-transfer-encoding; bh=xMdelwP1Dom1QL6sV81a/5MD3tBNmLIH9DIQ9kz52aI=; b=hXeTP0HpI+fYxsEVA1MLDeA+R8SZD6h1QqBSrigTg3RiNkPkzCnezq9hmfltnLwRmP qc8HVPIwqXPec8Sdg10XrIjDz5WLKeIBClEaWZ0MPdsxeYvDaGrpRja1GviaMlhDE5+H Kyp0AEkdHCgRqJ4LgW0UITr3+8WmE+UzH+flHLjfZwv9GibWu8kA6q/pzcu2HNIa4tPc 9ORiQtwUtbTiojxhjS+WLFMbHp0NuGWC5wrZbXb6BBVe0eKNxgG0Pmpy6JVZbrL2KMlu 4gq6gILDDzc/Bh4WU/87uZbdil+FOOFlrsMXRsu5fQ87eTU0BwJnOnXIbRh/XFbdSiVB p0Ug== X-Gm-Message-State: ALKqPwc3BH74H8yCwsdZzpqIo0jee3g/XKbyPj8S1cVO/2NI7aAsi5M7 fMRAhaUETY14luISk9MNBqY= X-Received: by 2002:a1c:bf52:: with SMTP id p79-v6mr1539250wmf.43.1526501345505; Wed, 16 May 2018 13:09:05 -0700 (PDT) Received: from macbookpro.malat.net (bru31-1-78-225-226-121.fbx.proxad.net. [78.225.226.121]) by smtp.gmail.com with ESMTPSA id c21-v6sm5014927wre.81.2018.05.16.13.09.04 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 16 May 2018 13:09:04 -0700 (PDT) Received: by macbookpro.malat.net (Postfix, from userid 1000) id 735BE10C058D; Wed, 16 May 2018 22:09:03 +0200 (CEST) From: Mathieu Malaterre To: Ingo Molnar Cc: Mathieu Malaterre , Peter Zijlstra , linux-kernel@vger.kernel.org Subject: [PATCH] =?UTF-8?q?sched/deadline:=20make=20function=20=E2=80=98gr?= =?UTF-8?q?ub=5Freclaim=E2=80=99=20static?= Date: Wed, 16 May 2018 22:09:02 +0200 Message-Id: <20180516200902.959-1-malat@debian.org> X-Mailer: git-send-email 2.11.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Since function ‘grub_reclaim’ can be made static, make it so. Silence 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 --- 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; -- 2.11.0