blob: 5cb72ff8ce1fded16e64fead38b1396b3d1fd2cb (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
|
#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__ */
|