Re: [PATCH 10/10] perf tools: Move ACCESS_ONCE from perf.h header

Jiri Olsa
2014-05-05T13:14:30Z

On Mon, May 05, 2014 at 02:59:22PM +0200, Borislav Petkov wrote:
> On Mon, May 05, 2014 at 02:45:36PM +0200, Peter Zijlstra wrote:
> > One could argue its part of the barrier muck, but sure.
>
> Yeah, it might be prudent to put stuff like that in the most fitting
> headers from the get-go as it causes trouble otherwise. And for
> ACCESS_ONCE, in particular, we have tools/include/linux/compiler.h which
> is a subset of include/linux/compiler.h so maybe it should go there.

right, that sounds like better place, I'll put it there

thanks,
jirka