On Tue, Jun 21, 2016 at 02:36:34PM -0400, Chris Metcalf wrote:
>On 6/21/2016 2:28 PM, Peter Zijlstra wrote:Something like so then?
> >On Tue, Jun 21, 2016 at 07:29:18PM +0200, Peter Zijlstra wrote:>
> >
> >The below, much larger than desired, patch seems to make it go again.> >>>OK, I seem to have a tilepro-linux-gcc-6.1.1 build done. Lets see if I
> >>>can build me a kernel with it.
> >
> >I had to s/__atomic_fetch/__atomic32_fetch/ to avoid a namespace clash
> >with the builtin C11 atomic primitives.
> >
> >You want me to rename them all to regain consistent naming?
>Yes, it's probably the right thing to do. All the internal routines with "atomic32"
>or "atomic64" I assume you mean?
---
arch/tile/include/asm/atomic_32.h | 24 ++++++++++++------------
arch/tile/include/asm/futex.h | 14 +++++++-------
arch/tile/lib/atomic_32.c | 16 ++++++++--------
arch/tile/lib/atomic_asm_32.S | 21 +++++++++++++--------
4 files changed, 40 insertions(+), 35 deletions(-)