Re: [tip:x86/core] x86: Enable Intel Turbo Boost Max Technology 3.0

From: Peter Zijlstra
Date: Fri Nov 25 2016 - 03:39:54 EST


On Fri, Nov 25, 2016 at 09:19:47AM +0100, Ingo Molnar wrote:
>
> * tip-bot for Tim Chen <tipbot@xxxxxxxxx> wrote:
>
> > Commit-ID: 5e76b2ab36b40ca33023e78725bdc69eafd63134
> > Gitweb: http://git.kernel.org/tip/5e76b2ab36b40ca33023e78725bdc69eafd63134
> > Author: Tim Chen <tim.c.chen@xxxxxxxxxxxxxxx>
> > AuthorDate: Tue, 22 Nov 2016 12:23:55 -0800
> > Committer: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
> > CommitDate: Thu, 24 Nov 2016 20:44:19 +0100
> >
> > x86: Enable Intel Turbo Boost Max Technology 3.0
>
> This patch doesn't build:
>
> Note that this patch has to be redone anyway, as it won't even build:
>
> > +#include <linux/sched.h>
> > +#include <linux/cpumask.h>
> > +#include <linux/cpuset.h>
> > +#include <asm/mutex.h>
> > +#include <linux/sched.h>
> > +#include <linux/sysctl.h>
> > +#include <linux/nodemask.h>
>
> arch/x86/kernel/itmt.c:26:23: fatal error: asm/mutex.h: No such file or directory

Hehe, indeed, we killed that dead in the locking branch. Weird include
to have anyway.