From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============4117299569656713532==" MIME-Version: 1.0 From: Peter Zijlstra To: kbuild-all@lists.01.org Subject: Re: [peterz-queue:sched/urgent 1/1] kernel/sched/fair.c:4771:8: error: implicit declaration of function 'cfs_rq_is_decayed' Date: Mon, 14 Jun 2021 22:59:42 +0200 Message-ID: In-Reply-To: <20210614192834.GA13213@vingu-book> List-Id: --===============4117299569656713532== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable On Mon, Jun 14, 2021 at 09:28:34PM +0200, Vincent Guittot wrote: > It's the !SMP case for which PELT is disabled. The below fixes the proble= m: > = > --- > kernel/sched/fair.c | 5 +++++ > 1 file changed, 5 insertions(+) > = > diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c > index 62a884a652cc..4f7df0e9d198 100644 > --- a/kernel/sched/fair.c > +++ b/kernel/sched/fair.c > @@ -4062,6 +4062,11 @@ static inline void update_misfit_status(struct tas= k_struct *p, struct rq *rq) > = > #else /* CONFIG_SMP */ > = > +static inline bool cfs_rq_is_decayed(struct cfs_rq *cfs_rq) > +{ > + return true; > +} > + > #define UPDATE_TG 0x0 > #define SKIP_AGE_LOAD 0x0 > #define DO_ATTACH 0x0 > -- > = > Peter do you prefer a new version of the patch or you will add this fix d= irectly ? I folded it in, will push out a new version in a minute or so. Hopefully all will be well, and I'll push out to tip tomorrow. --===============4117299569656713532==--