Files
openflow/datapath/linux-2.4/compat-2.4/include-mips/asm/atomic.h
T
2008-06-22 23:49:12 -07:00

9 lines
201 B
C

#ifndef __ASM_MIPS_ATOMIC_H_WRAPPER
#define __ASM_MIPS_ATOMIC_H_WRAPPER 1
#include_next <asm/atomic.h>
#define atomic_cmpxchg(v, o, n) (cmpxchg(&((v)->counter), (o), (n)))
#endif /* asm/atomic.h */