Re: [PATCH 1/4] atomic_cmpxchg and friends

Nick Piggin
2005-09-26T01:08:35Z

Alan Cox wrote:

>
>+#define atomic_cmpxchg(v, old, new) ((int)cmpxchg(&((v)->counter), old,
>new))
>+
>
>Not all X86 has cmpxchg so the code there won't compile for all cases.
>
>

Ah yeah thanks. I guess was supposed to send in Christoph's i386
cmpxchg patch first. I'll take care of that.

Nick

Send instant messages to your online friends http://au.messenger.yahoo.com