Changeset d99d8c8 in mainline for arch/ppc32/include/atomic.h
- Timestamp:
- 2006-03-15T00:08:52Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 51cc6bf6
- Parents:
- 5f62ef9
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
arch/ppc32/include/atomic.h
r5f62ef9 rd99d8c8 31 31 32 32 #include <arch/types.h> 33 34 #define atomic_inc_pre(x) (atomic_inc(x) - 1) 35 #define atomic_dec_pre(x) (atomic_dec(x) + 1) 36 37 #define atomic_inc_post(x) atomic_inc(x) 38 #define atomic_dec_post(x) atomic_dec(x) 33 39 34 40 typedef struct { volatile __u32 count; } atomic_t;
Note:
See TracChangeset
for help on using the changeset viewer.