Changes in kernel/arch/ppc32/include/atomic.h [d92bf462:7a0359b] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/ppc32/include/atomic.h
rd92bf462 r7a0359b 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.