diff options
| author | Martin Schwidefsky <[email protected]> | 2006-01-06 00:19:07 -0800 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2006-01-06 08:33:48 -0800 |
| commit | 973bd9937569146de0917f54f05b2942f8257912 (patch) | |
| tree | 86dd796de5bf456eca904b350c9515f4795122bb /scripts/basic | |
| parent | 8d93c700a489eba08514222df414a23852a85d2b (diff) | |
[PATCH] s390: atomic primitives
Hugh Dickins <[email protected]>
Fix the broken atomic_cmpxchg primitive. Add atomic_sub_and_test,
atomic64_sub_return, atomic64_sub_and_test, atomic64_cmpxchg,
atomic64_add_unless and atomic64_inc_not_zero. Replace old style
atomic_compare_and_swap by atomic_cmpxchg. Shorten the whole header by
defining most primitives with the two inline functions atomic_add_return and
atomic_sub_return.
In addition this patch contains the s390 related fixes of Hugh's "mm: fill
arch atomic64 gaps" patch.
Signed-off-by: Martin Schwidefsky <[email protected]>
Signed-off-by: Hugh Dickins <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions