X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=kernel%2Farch%2Fm32r%2Finclude%2Fasm%2Fcmpxchg.h;h=14bf9b739dd2c8eb643a805263dc88741fd3b1de;hb=e09b41010ba33a20a87472ee821fa407a5b8da36;hp=de651db20b43938ca7289404dfa1eb4b7940e0c8;hpb=9ca8dbcc65cfc63d6f5ef3312a33184e1d726e00;p=kvmfornfv.git diff --git a/kernel/arch/m32r/include/asm/cmpxchg.h b/kernel/arch/m32r/include/asm/cmpxchg.h index de651db20..14bf9b739 100644 --- a/kernel/arch/m32r/include/asm/cmpxchg.h +++ b/kernel/arch/m32r/include/asm/cmpxchg.h @@ -107,8 +107,6 @@ __xchg_local(unsigned long x, volatile void *ptr, int size) ((__typeof__(*(ptr)))__xchg_local((unsigned long)(x), (ptr), \ sizeof(*(ptr)))) -#define __HAVE_ARCH_CMPXCHG 1 - static inline unsigned long __cmpxchg_u32(volatile unsigned int *p, unsigned int old, unsigned int new) {