[PATCH 00/10] atomic.h : standardizing atomic primitives

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Mathieu Desnoyers
Date: Sunday, February 11, 2007 - 12:17 pm

atomic.h : standardizing atomic primitives

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.

These patches compile fine against :

arm
i686
ia64
m68k
mips
mipsel
x86_64
ppc 405
powerpc 970
s390
sparc
sparc64

I haven't built cross-compilers for other architectures yet.

These patches apply on 2.6.20

Signed-off-by : Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>

-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 00/10] atomic.h : standardizing atomic primitives, Mathieu Desnoyers, (Sun Feb 11, 12:17 pm)
[PATCH 01/10] atomic.h : Add atomic64 cmpxchg, xchg and ad ..., Mathieu Desnoyers, (Sun Feb 11, 12:17 pm)
[PATCH 02/10] atomic.h : Complete atomic_long operations i ..., Mathieu Desnoyers, (Sun Feb 11, 12:17 pm)
[PATCH 03/10] atomic.h : i386 type safety fix, Mathieu Desnoyers, (Sun Feb 11, 12:17 pm)
[PATCH 04/10] atomic.h : Add atomic64 cmpxchg, xchg and ad ..., Mathieu Desnoyers, (Sun Feb 11, 12:17 pm)
[PATCH 05/10] atomic.h : Add atomic64 cmpxchg, xchg and ad ..., Mathieu Desnoyers, (Sun Feb 11, 12:17 pm)
[PATCH 06/10] atomic.h : Add atomic64 cmpxchg, xchg and ad ..., Mathieu Desnoyers, (Sun Feb 11, 12:17 pm)
[PATCH 07/10] atomic.h : Add atomic64 cmpxchg, xchg and ad ..., Mathieu Desnoyers, (Sun Feb 11, 12:17 pm)
[PATCH 08/10] atomic.h : Add atomic64 cmpxchg, xchg and ad ..., Mathieu Desnoyers, (Sun Feb 11, 12:17 pm)
[PATCH 09/10] atomic.h : Add atomic64_xchg to s390, Mathieu Desnoyers, (Sun Feb 11, 12:17 pm)
[PATCH 10/10] atomic.h : Add atomic64 cmpxchg, xchg and ad ..., Mathieu Desnoyers, (Sun Feb 11, 12:17 pm)
Re: [PATCH 10/10] atomic.h : Add atomic64 cmpxchg, xchg an ..., Mathieu Desnoyers, (Mon Feb 12, 9:43 am)
Re: [PATCH] atomic.h : atomic_add_unless as inline. Remove ..., Mathieu Desnoyers, (Mon Feb 12, 9:49 am)