Changeset bd48f4c in mainline for kernel/arch/ia64/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/ia64/include/atomic.h
rc40e6ef rbd48f4c 36 36 #define KERN_ia64_ATOMIC_H_ 37 37 38 static inline atomic_count_t test_and_set(atomic_t *val) 38 #include <trace.h> 39 40 NO_TRACE static inline atomic_count_t test_and_set(atomic_t *val) 39 41 { 40 42 atomic_count_t v; … … 50 52 } 51 53 52 static inline void atomic_lock_arch(atomic_t *val)54 NO_TRACE static inline void atomic_lock_arch(atomic_t *val) 53 55 { 54 56 do { … … 57 59 } 58 60 59 static inline void atomic_inc(atomic_t *val)61 NO_TRACE static inline void atomic_inc(atomic_t *val) 60 62 { 61 63 atomic_count_t v; … … 68 70 } 69 71 70 static inline void atomic_dec(atomic_t *val)72 NO_TRACE static inline void atomic_dec(atomic_t *val) 71 73 { 72 74 atomic_count_t v; … … 79 81 } 80 82 81 static inline atomic_count_t atomic_preinc(atomic_t *val)83 NO_TRACE static inline atomic_count_t atomic_preinc(atomic_t *val) 82 84 { 83 85 atomic_count_t v; … … 92 94 } 93 95 94 static inline atomic_count_t atomic_predec(atomic_t *val)96 NO_TRACE static inline atomic_count_t atomic_predec(atomic_t *val) 95 97 { 96 98 atomic_count_t v; … … 105 107 } 106 108 107 static inline atomic_count_t atomic_postinc(atomic_t *val)109 NO_TRACE static inline atomic_count_t atomic_postinc(atomic_t *val) 108 110 { 109 111 atomic_count_t v; … … 118 120 } 119 121 120 static inline atomic_count_t atomic_postdec(atomic_t *val)122 NO_TRACE static inline atomic_count_t atomic_postdec(atomic_t *val) 121 123 { 122 124 atomic_count_t v;
Note:
See TracChangeset
for help on using the changeset viewer.