[ltt-dev] [PATCH 06/11] remove compat_uatomic_cmpxchg #define from non-x86
Paolo Bonzini
pbonzini at redhat.com
Sat Feb 13 12:16:26 EST 2010
This is unused everywhere except on x86.
Signed-off-by: Paolo Bonzini <pbonzini at redhat.com>
---
urcu/uatomic_arch_ppc.h | 2 --
urcu/uatomic_arch_s390.h | 2 --
urcu/uatomic_arch_sparc64.h | 2 --
3 files changed, 0 insertions(+), 6 deletions(-)
diff --git a/urcu/uatomic_arch_ppc.h b/urcu/uatomic_arch_ppc.h
index e0a06b8..7106b99 100644
--- a/urcu/uatomic_arch_ppc.h
+++ b/urcu/uatomic_arch_ppc.h
@@ -227,8 +227,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
diff --git a/urcu/uatomic_arch_s390.h b/urcu/uatomic_arch_s390.h
index ee88795..6247601 100644
--- a/urcu/uatomic_arch_s390.h
+++ b/urcu/uatomic_arch_s390.h
@@ -210,8 +210,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
diff --git a/urcu/uatomic_arch_sparc64.h b/urcu/uatomic_arch_sparc64.h
index 6978490..e984986 100644
--- a/urcu/uatomic_arch_sparc64.h
+++ b/urcu/uatomic_arch_sparc64.h
@@ -171,8 +171,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
--
1.6.6
More information about the lttng-dev
mailing list