Initial import
[sliver-openvswitch.git] / datapath / linux-2.4 / compat-2.4 / include-i386 / asm / atomic.h
1 #ifndef __ASM_I386_ATOMIC_WRAPPER_H
2 #define __ASM_I386_ATOMIC_WRAPPER_H 1
3
4 #include_next <asm/atomic.h>
5
6 #include <asm/system.h>
7
8 #define atomic_cmpxchg(v, old, new) (cmpxchg(&((v)->counter), (old), (new)))
9
10 #endif /* atomic.h */