Changeset d2ab461 in mainline for generic


Ignore:
Timestamp:
2006-03-22T22:25:28Z (20 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
2802767
Parents:
d71007e
Message:

Small atomic #include and typedef changes.

Location:
generic/include
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • generic/include/atomic.h

    rd71007e rd2ab461  
    3030#define __ATOMIC_H__
    3131
    32 struct atomic {
     32typedef struct atomic {
    3333        volatile long count;
    34 };
     34} atomic_t;
    3535
    3636#include <arch/atomic.h>
    37 #include <typedefs.h>
    3837
    3938static inline void atomic_set(atomic_t *val, long i)
  • generic/include/typedefs.h

    rd71007e rd2ab461  
    6262typedef struct condvar condvar_t;
    6363typedef struct waitq waitq_t;
     64typedef struct futex futex_t;
    6465
    6566typedef struct chunk chunk_t;
     
    9394typedef struct btree btree_t;
    9495
    95 typedef struct atomic atomic_t;
    96 
    9796#endif
Note: See TracChangeset for help on using the changeset viewer.