Changeset 33c4f72 in mainline for kernel/generic/include/atomic.h


Ignore:
Timestamp:
2010-06-25T13:38:30Z (14 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
fc81981
Parents:
09a0bd4a
Message:

improve annotations
move to the newest VCC syntax
use VCC specifications as a separate vcc.h header

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/include/atomic.h

    r09a0bd4a r33c4f72  
    4141
    4242ATOMIC static inline void atomic_set(atomic_t *val, atomic_count_t i)
     43    WRITES(&val->count)
     44    REQUIRES_EXTENT_MUTABLE(val)
    4345{
    4446        val->count = i;
     
    4648
    4749ATOMIC static inline atomic_count_t atomic_get(atomic_t *val)
     50    REQUIRES_EXTENT_MUTABLE(val)
    4851{
    4952        return val->count;
Note: See TracChangeset for help on using the changeset viewer.