xref: /nrf52832-nimble/rt-thread/components/dfs/filesystems/jffs2/kernel/asm/atomic.h (revision 104654410c56c573564690304ae786df310c91fc)
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