Re: [PATCH] tools: restore READ_ONCE() C++ compatibility
From: Arnaldo Carvalho de Melo
Date: Tue Apr 10 2018 - 11:50:35 EST
Em Tue, Apr 10, 2018 at 11:55:15AM +0100, Mark Rutland escreveu:
> On Mon, Apr 09, 2018 at 04:40:32PM -0300, Arnaldo Carvalho de Melo wrote:
> > Now 'make LIBCLANGLLVM=1 -C tools/perf' works, but I'll look at the
> > patch below, probably it will save some time in the future if we get to
> > include compiler.h from C++ code again...
> > Take a look at my perf/urgent branch, that I just asked Ingo to pull.
> Ah, that's great.
> Sorry for the noise!
No noise at all, your patch is valid and I'm applying it. At some point
some code will include compiler.h at some include chain from a C++ file
and clang will explode once more, better fix it now :-)
- Arnaldo