Messages in this thread | | | Date | Sat, 27 Jan 2007 12:31:24 -0500 | From | Mathieu Desnoyers <> | Subject | Re: [PATCH 00/09] atomic.h : standardizing atomic primitives |
| |
* 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 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |