Initial import
[sliver-openvswitch.git] / datapath / linux-2.4 / compat-2.4 / include-mips / asm / atomic.h
1 #ifndef __ASM_MIPS_ATOMIC_H_WRAPPER
2 #define __ASM_MIPS_ATOMIC_H_WRAPPER 1
3
4 #include_next <asm/atomic.h>
5 #include <asm/system.h>
6
7 #error "Cribbed from linux-2.6/include/asm-mips but not tested."
8
9 #define atomic_cmpxchg(v, o, n) (cmpxchg(&((v)->counter), (o), (n)))
10
11 #endif /* asm/atomic.h */