Files
openflow/datapath/linux-2.4/compat-2.4/include-mips/asm/atomic.h
T

10 lines
225 B
C

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