remove compat_uatomic_cmpxchg #define from non-x86
authorPaolo Bonzini <pbonzini@redhat.com>
Mon, 1 Mar 2010 18:53:51 +0000 (13:53 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Mon, 1 Mar 2010 18:53:51 +0000 (13:53 -0500)
This is unused everywhere except on x86.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
urcu/uatomic_arch_ppc.h
urcu/uatomic_arch_s390.h
urcu/uatomic_arch_sparc64.h

index 2322c97f43fe8f6a5b0f99daf59de871d08ccc80..8da192e8514dd7b080f77c9d665e08a52ee58dab 100644 (file)
@@ -235,8 +235,6 @@ unsigned long _uatomic_add_return(void *addr, unsigned long val,
 #define uatomic_inc(addr)              uatomic_add((addr), 1)
 #define uatomic_dec(addr)              uatomic_add((addr), -1)
 
-#define compat_uatomic_cmpxchg(ptr, old, _new) uatomic_cmpxchg(ptr, old, _new)
-
 #ifdef __cplusplus 
 }
 #endif
index fdfabfd65a2bafa2ddf3b1c288e5c352e5fd6eb7..614867f1d61eb055daebb17bcce0cc7b14dbb023 100644 (file)
@@ -218,8 +218,6 @@ unsigned long _uatomic_add_return(void *addr, unsigned long val, int len)
 #define uatomic_inc(addr)              uatomic_add((addr), 1)
 #define uatomic_dec(addr)              uatomic_add((addr), -1)
 
-#define compat_uatomic_cmpxchg(ptr, old, _new) uatomic_cmpxchg(ptr, old, _new)
-
 #ifdef __cplusplus 
 }
 #endif
index 3aa3b7d9afb889b7f7cd8df80445148dc2dc523b..d443d4fe54b2790492b4981948bb4ff3c0cf976d 100644 (file)
@@ -179,8 +179,6 @@ unsigned long _uatomic_add_return(void *addr, unsigned long val, int len)
 #define uatomic_inc(addr)              uatomic_add((addr), 1)
 #define uatomic_dec(addr)              uatomic_add((addr), -1)
 
-#define compat_uatomic_cmpxchg(ptr, old, _new) uatomic_cmpxchg(ptr, old, _new)
-
 #ifdef __cplusplus 
 }
 #endif
This page took 0.025976 seconds and 4 git commands to generate.