Changes in kernel/arch/abs32le/include/atomic.h [33c4f72:7a0359b] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/abs32le/include/atomic.h
r33c4f72 r7a0359b 40 40 #include <preemption.h> 41 41 #include <verify.h> 42 #include <trace.h> 42 43 43 ATOMIC static inline void atomic_inc(atomic_t *val)44 NO_TRACE ATOMIC static inline void atomic_inc(atomic_t *val) 44 45 WRITES(&val->count) 45 46 REQUIRES_EXTENT_MUTABLE(val) … … 52 53 } 53 54 54 ATOMIC static inline void atomic_dec(atomic_t *val)55 NO_TRACE ATOMIC static inline void atomic_dec(atomic_t *val) 55 56 WRITES(&val->count) 56 57 REQUIRES_EXTENT_MUTABLE(val) … … 63 64 } 64 65 65 ATOMIC static inline atomic_count_t atomic_postinc(atomic_t *val)66 NO_TRACE ATOMIC static inline atomic_count_t atomic_postinc(atomic_t *val) 66 67 WRITES(&val->count) 67 68 REQUIRES_EXTENT_MUTABLE(val) … … 78 79 } 79 80 80 ATOMIC static inline atomic_count_t atomic_postdec(atomic_t *val)81 NO_TRACE ATOMIC static inline atomic_count_t atomic_postdec(atomic_t *val) 81 82 WRITES(&val->count) 82 83 REQUIRES_EXTENT_MUTABLE(val) … … 96 97 #define atomic_predec(val) (atomic_postdec(val) - 1) 97 98 98 ATOMIC static inline atomic_count_t test_and_set(atomic_t *val)99 NO_TRACE ATOMIC static inline atomic_count_t test_and_set(atomic_t *val) 99 100 WRITES(&val->count) 100 101 REQUIRES_EXTENT_MUTABLE(val) … … 109 110 } 110 111 111 static inline void atomic_lock_arch(atomic_t *val)112 NO_TRACE static inline void atomic_lock_arch(atomic_t *val) 112 113 WRITES(&val->count) 113 114 REQUIRES_EXTENT_MUTABLE(val)
Note:
See TracChangeset
for help on using the changeset viewer.