This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: [PATCH 00/09] atomic.h : standardizing atomic primitives
- From: Mathieu Desnoyers <mathieu dot desnoyers at polymtl dot ca>
- To: Andrew Morton <akpm at osdl dot org>
- Cc: linux-kernel at vger dot kernel dot org, Linus Torvalds <torvalds at osdl dot org>, Ingo Molnar <mingo at redhat dot com>, Greg Kroah-Hartman <gregkh at suse dot de>, Christoph Hellwig <hch at infradead dot org>, ltt-dev at shafik dot org, systemtap at sources dot redhat dot com, Douglas Niehaus <niehaus at eecs dot ku dot edu>, "Martin J. Bligh" <mbligh at mbligh dot org>, Thomas Gleixner <tglx at linutronix dot de>, Paul Mackerras <paulus at samba dot org>
- Date: Sat, 27 Jan 2007 12:31:24 -0500
- Subject: Re: [PATCH 00/09] atomic.h : standardizing atomic primitives
- References: <11697417541743-git-send-email-mathieu.desnoyers@polymtl.ca> <20070127021834.e26e955d.akpm@osdl.org>
* Andrew Morton (akpm@osdl.org) wrote:
> On Thu, 25 Jan 2007 11:15:45 -0500
> Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca> wrote:
>
> > It mainly adds support for missing 64 bits cmpxchg and 64 bits atomic add
> > unless. Therefore, principally 64 bits architectures are targeted by these
> > patches. It also adds the complete list of atomic operations on the atomic_long
> > type.
>
> OK, I fixed eight separate compile errors in this patch series and
> now powerpc is being very ugly with a twisty maze of include dependencies.
>
> I'm giving up. Someone should publish a suite of cross-compilers for us
> so stuff like this doesn't need to happen.
Hi Andrew,
This seems to be caused by the fact that I use inline functions for
atomic_long_cmpxchg and atomic_long_xchg. I could simply use macros and
this problem would fade away.
I agree about the cross-compiler suite, it would be very useful here.
Mathieu
--
OpenPGP public key: http://krystal.dyndns.org:8080/key/compudj.gpg
Key fingerprint: 8CD5 52C3 8E3C 4140 715F BA06 3F25 A8FE 3BAE 9A68