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