Re: [PATCH 00/09] atomic.h : standardizing atomic primitives
Mathieu Desnoyers <[email protected]>
| Newsgroups | gmane.linux.kernel.tracing,gmane.linux.kernel,gmane.linux.systemtap |
|---|---|
| Message-ID | <20070127173124.GA25282@Krystal> |
* Andrew Morton ([email protected]) wrote: > On Thu, 25 Jan 2007 11:15:45 -0500 > Mathieu Desnoyers <[email protected]> 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