Re: [PATCH] perf, tools, stat: Include asm/bug.h for WARN_ON

From: Andi Kleen
Date: Wed Feb 17 2016 - 16:22:54 EST


On Wed, Feb 17, 2016 at 04:24:44PM -0300, Arnaldo Carvalho de Melo wrote:
> Em Wed, Feb 17, 2016 at 08:15:35PM +0100, Andi Kleen escreveu:
> > On Wed, Feb 17, 2016 at 03:56:21PM -0300, Arnaldo Carvalho de Melo wrote:
> > > Em Wed, Feb 17, 2016 at 03:52:09PM -0300, Arnaldo Carvalho de Melo escreveu:
> > > > Em Wed, Feb 17, 2016 at 10:39:08AM -0800, Andi Kleen escreveu:
> > > > > In my set up (separate objdir, DEBUG=1) tip perf doesn't build without this change.
> > > > > It may be that in some other setups asm/bug.h is implicitely included.
> > >
> > > > Thanks, applying your fix, after making it build on acme/perf/core:
> > >
> > > I take that back, it is already there:
> >
> > Ok, but not in tip/perf/core. Can you push it there please?
>
> Huh? I can't, this is not my tree, its Ingo's. But lemme check there...

Never mind. Ended up being a local problem. Thanks for checking.

-Andi