Re: [tip: sched/core] sched: Fix -Wmissing-prototype
From: Peter Zijlstra
Date: Fri Sep 17 2021 - 14:26:27 EST
On Fri, Sep 17, 2021 at 09:57:37AM -0700, Peter Oskolkov wrote:
> On Thu, Sep 16, 2021 at 4:59 AM tip-bot2 for Peter Zijlstra
> <tip-bot2@xxxxxxxxxxxxx> wrote:
> >
> > The following commit has been merged into the sched/core branch of tip:
> >
> > Commit-ID: 98a3270911f7abe2871a60799c20c95c9f991ddb
>
> $ make defconfig
> $ make -j16
>
> ld: kernel/sched/core.o: in function `sched_free_group':
> core.c:(.text+0x2cfd): undefined reference to `free_rt_sched_group'
> ld: kernel/sched/core.o: in function `sched_create_group':
> core.c:(.text+0xbdcb): undefined reference to `alloc_rt_sched_group'
> ld: kernel/sched/core.o: in function `sched_init':
> core.c:(.init.text+0x335): undefined reference to `init_cfs_bandwidth'
> ld: kernel/sched/fair.o: in function `alloc_fair_sched_group':
> fair.c:(.text+0x8427): undefined reference to `init_cfs_bandwidth'
> make: *** [Makefile:1196: vmlinux] Error 1
>
> Reverting this patch fixes the issue.
Moo, ok, I'll go figure that out ... too damn many CONFIG_ knobs is
what.