1
0

atomic.h 208 B

12345678910
  1. #ifndef __ASM_ATOMIC_H__
  2. #define __ASM_ATOMIC_H__
  3. #define atomic_t int
  4. #define atomic_inc(atom) (*atom)++
  5. #define atomic_dec(atom) (*atom)--
  6. #define atomic_read(atom) (*atom)
  7. #endif /* __ASM_ATOMIC_H__ */