Mercurial > ecos-v2_0-branch
view packages/compat/linux/current/include/asm/atomic.h @ 823:19a153ac403c default tip
* Added execute permissions to files missed in conversion from CVS
| author | alexs |
|---|---|
| date | Thu, 08 May 2003 17:42:17 +0000 |
| parents | 726ecf119e30 |
| children |
line wrap: on
line source
#ifndef __ASM_ATOMIC_H__ #define __ASM_ATOMIC_H__ #define atomic_t int #define atomic_inc(atom) (*atom)++ #define atomic_dec(atom) (*atom)-- #define atomic_read(atom) (*atom) #endif /* __ASM_ATOMIC_H__ */
