Re: linux-next: Tree for Jun 21

From: Chris Metcalf
Date: Wed Jun 22 2016 - 16:41:05 EST


On 6/22/2016 5:16 AM, Peter Zijlstra wrote:
On Tue, Jun 21, 2016 at 02:36:34PM -0400, Chris Metcalf wrote:
>On 6/21/2016 2:28 PM, Peter Zijlstra wrote:
> >On Tue, Jun 21, 2016 at 07:29:18PM +0200, Peter Zijlstra wrote:
> >
> >>>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.
> >The below, much larger than desired, patch seems to make it go again.
> >
> >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?
Something like so then?

---
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(-)

Yes, that looks good. Thanks!

Acked-by: Chris Metcalf <cmetcalf@xxxxxxxxxxxx>

--
Chris Metcalf, Mellanox Technologies
http://www.mellanox.com