Re: tip.today - scheduler bam boom crash (cpu hotplug)

From: Peter Zijlstra
Date: Thu Jan 19 2017 - 12:21:01 EST


On Thu, Jan 19, 2017 at 05:54:55PM +0100, Ingo Molnar wrote:
>
> * Peter Zijlstra <peterz@xxxxxxxxxxxxx> wrote:
>
> > On Thu, Jan 19, 2017 at 11:19:24AM +0100, Peter Zijlstra wrote:
> >
> > > I'll go have a prod. Thanks!
> >
> > This seems to cure it for me.
> >
> > ---
> > Subject: sched/clock: Fix hotplug issue
>
> JFYI:
>
> arch/x86/kernel/cpu/centaur.c: In function âearly_init_centaurâ:
> arch/x86/kernel/cpu/centaur.c:108:2: error: implicit declaration of function âclear_sched_clock_stableâ [-Werror=implicit-function-declaration]
>
> x86-64 defconfig-ish.

Duh.. that'd be a missing: #include <linux/sched.h>

Clearly that's not selected with the .config for the textbox ;-)