Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/abs32le/include/atomic.h

    r33c4f72 r7a0359b  
    4040#include <preemption.h>
    4141#include <verify.h>
     42#include <trace.h>
    4243
    43 ATOMIC static inline void atomic_inc(atomic_t *val)
     44NO_TRACE ATOMIC static inline void atomic_inc(atomic_t *val)
    4445    WRITES(&val->count)
    4546    REQUIRES_EXTENT_MUTABLE(val)
     
    5253}
    5354
    54 ATOMIC static inline void atomic_dec(atomic_t *val)
     55NO_TRACE ATOMIC static inline void atomic_dec(atomic_t *val)
    5556    WRITES(&val->count)
    5657    REQUIRES_EXTENT_MUTABLE(val)
     
    6364}
    6465
    65 ATOMIC static inline atomic_count_t atomic_postinc(atomic_t *val)
     66NO_TRACE ATOMIC static inline atomic_count_t atomic_postinc(atomic_t *val)
    6667    WRITES(&val->count)
    6768    REQUIRES_EXTENT_MUTABLE(val)
     
    7879}
    7980
    80 ATOMIC static inline atomic_count_t atomic_postdec(atomic_t *val)
     81NO_TRACE ATOMIC static inline atomic_count_t atomic_postdec(atomic_t *val)
    8182    WRITES(&val->count)
    8283    REQUIRES_EXTENT_MUTABLE(val)
     
    9697#define atomic_predec(val)  (atomic_postdec(val) - 1)
    9798
    98 ATOMIC static inline atomic_count_t test_and_set(atomic_t *val)
     99NO_TRACE ATOMIC static inline atomic_count_t test_and_set(atomic_t *val)
    99100    WRITES(&val->count)
    100101    REQUIRES_EXTENT_MUTABLE(val)
     
    109110}
    110111
    111 static inline void atomic_lock_arch(atomic_t *val)
     112NO_TRACE static inline void atomic_lock_arch(atomic_t *val)
    112113    WRITES(&val->count)
    113114    REQUIRES_EXTENT_MUTABLE(val)
Note: See TracChangeset for help on using the changeset viewer.