Changeset 33c4f72 in mainline for kernel/generic/include/atomic.h
- Timestamp:
- 2010-06-25T13:38:30Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- fc81981
- Parents:
- 09a0bd4a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/include/atomic.h
r09a0bd4a r33c4f72 41 41 42 42 ATOMIC static inline void atomic_set(atomic_t *val, atomic_count_t i) 43 WRITES(&val->count) 44 REQUIRES_EXTENT_MUTABLE(val) 43 45 { 44 46 val->count = i; … … 46 48 47 49 ATOMIC static inline atomic_count_t atomic_get(atomic_t *val) 50 REQUIRES_EXTENT_MUTABLE(val) 48 51 { 49 52 return val->count;
Note:
See TracChangeset
for help on using the changeset viewer.