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