Changeset bd48f4c in mainline for kernel/arch/ppc32/include/atomic.h
- Timestamp:
- 2010-07-12T10:53:30Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- bd11d3e
- Parents:
- c40e6ef (diff), bee2d4c (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/ppc32/include/atomic.h
rc40e6ef rbd48f4c 36 36 #define KERN_ppc32_ATOMIC_H_ 37 37 38 static inline void atomic_inc(atomic_t *val) 38 #include <trace.h> 39 40 NO_TRACE static inline void atomic_inc(atomic_t *val) 39 41 { 40 42 atomic_count_t tmp; … … 54 56 } 55 57 56 static inline void atomic_dec(atomic_t *val)58 NO_TRACE static inline void atomic_dec(atomic_t *val) 57 59 { 58 60 atomic_count_t tmp; … … 72 74 } 73 75 74 static inline atomic_count_t atomic_postinc(atomic_t *val)76 NO_TRACE static inline atomic_count_t atomic_postinc(atomic_t *val) 75 77 { 76 78 atomic_inc(val); … … 78 80 } 79 81 80 static inline atomic_count_t atomic_postdec(atomic_t *val)82 NO_TRACE static inline atomic_count_t atomic_postdec(atomic_t *val) 81 83 { 82 84 atomic_dec(val); … … 84 86 } 85 87 86 static inline atomic_count_t atomic_preinc(atomic_t *val)88 NO_TRACE static inline atomic_count_t atomic_preinc(atomic_t *val) 87 89 { 88 90 atomic_inc(val); … … 90 92 } 91 93 92 static inline atomic_count_t atomic_predec(atomic_t *val)94 NO_TRACE static inline atomic_count_t atomic_predec(atomic_t *val) 93 95 { 94 96 atomic_dec(val);
Note:
See TracChangeset
for help on using the changeset viewer.