Subversion Repositories HelenOS

Rev

Rev 1110 | Rev 1653 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1110 Rev 1113
Line 31... Line 31...
31
 
31
 
32
typedef struct atomic {
32
typedef struct atomic {
33
    volatile long count;
33
    volatile long count;
34
} atomic_t;
34
} atomic_t;
35
 
35
 
36
#include <atomic_arch.h>
36
#include <libarch/atomic.h>
37
 
37
 
38
static inline void atomic_set(atomic_t *val, long i)
38
static inline void atomic_set(atomic_t *val, long i)
39
{
39
{
40
        val->count = i;
40
        val->count = i;
41
}
41
}