Changeset 8c19cf28 in mainline for kernel/generic/include/atomic.h
- Timestamp:
- 2006-11-30T15:38:06Z (18 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 7c34822e
- Parents:
- c55dd58
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/include/atomic.h
rc55dd58 r8c19cf28 44 44 static inline void atomic_set(atomic_t *val, long i) 45 45 { 46 46 val->count = i; 47 47 } 48 48 49 49 static inline long atomic_get(atomic_t *val) 50 50 { 51 51 return val->count; 52 52 } 53 53
Note:
See TracChangeset
for help on using the changeset viewer.