Changes in kernel/arch/ppc32/include/atomic.h [7a0359b:d92bf462] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/ppc32/include/atomic.h
r7a0359b rd92bf462 36 36 #define KERN_ppc32_ATOMIC_H_ 37 37 38 #include <trace.h> 39 40 NO_TRACE static inline void atomic_inc(atomic_t *val) 38 static inline void atomic_inc(atomic_t *val) 41 39 { 42 40 atomic_count_t tmp; … … 56 54 } 57 55 58 NO_TRACEstatic inline void atomic_dec(atomic_t *val)56 static inline void atomic_dec(atomic_t *val) 59 57 { 60 58 atomic_count_t tmp; … … 74 72 } 75 73 76 NO_TRACEstatic inline atomic_count_t atomic_postinc(atomic_t *val)74 static inline atomic_count_t atomic_postinc(atomic_t *val) 77 75 { 78 76 atomic_inc(val); … … 80 78 } 81 79 82 NO_TRACEstatic inline atomic_count_t atomic_postdec(atomic_t *val)80 static inline atomic_count_t atomic_postdec(atomic_t *val) 83 81 { 84 82 atomic_dec(val); … … 86 84 } 87 85 88 NO_TRACEstatic inline atomic_count_t atomic_preinc(atomic_t *val)86 static inline atomic_count_t atomic_preinc(atomic_t *val) 89 87 { 90 88 atomic_inc(val); … … 92 90 } 93 91 94 NO_TRACEstatic inline atomic_count_t atomic_predec(atomic_t *val)92 static inline atomic_count_t atomic_predec(atomic_t *val) 95 93 { 96 94 atomic_dec(val);
Note:
See TracChangeset
for help on using the changeset viewer.