Ignore:
File:
1 edited

Legend:

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

    r228666c rdf4ed85  
    2727 */
    2828
    29 /** @addtogroup generic
     29/** @addtogroup generic 
    3030 * @{
    3131 */
     
    3636#define KERN_ATOMIC_H_
    3737
    38 #include <arch/types.h>
    39 
    4038typedef struct atomic {
    41         volatile atomic_count_t count;
     39        volatile long count;
    4240} atomic_t;
    4341
    4442#include <arch/atomic.h>
    4543
    46 static inline void atomic_set(atomic_t *val, atomic_count_t i)
     44static inline void atomic_set(atomic_t *val, long i)
    4745{
    4846        val->count = i;
    4947}
    5048
    51 static inline atomic_count_t atomic_get(atomic_t *val)
     49static inline long atomic_get(atomic_t *val)
    5250{
    5351        return val->count;
Note: See TracChangeset for help on using the changeset viewer.