From mboxrd@z Thu Jan 1 00:00:00 1970 From: pbonzini@redhat.com (Paolo Bonzini) Date: Fri, 19 Feb 2010 20:22:42 +0100 Subject: [ltt-dev] [PATCH 00/12] provide generic version of uatomic and other per-arch defs Message-ID: <1266607374-1107-1-git-send-email-pbonzini@redhat.com> v2->v3: added acked-by headers changed defaults to generic fixed typos and coding standards removed last (test) patch Paolo Bonzini (12): use kernel style makefile output use autoconf symbolic linking add urcu/arch_generic.h define sync_core for x86 PIC remove compat_uatomic_cmpxchg #define from non-x86 add uatomic_generic.h, use it for common definitions use uatomic_generic.h for common fallback implementations move whether atomic byte/short exists to uatomic_arch_*.h add Alpha support support compiling on unknown architectures avoid multiple evaluation of STORE_SHARED argument centralize definition of BITS_PER_LONG Makefile.am | 15 +-- configure.ac | 24 +++- tests/Makefile.am | 12 -- tests/test_uatomic.c | 13 +-- urcu/arch_alpha.h | 48 ++++++ urcu/arch_generic.h | 132 ++++++++++++++++ urcu/arch_ppc.h | 54 +------ urcu/arch_s390.h | 50 +------ urcu/arch_sparc64.h | 55 +------- urcu/arch_x86.h | 68 ++------- urcu/compiler.h | 8 + urcu/system.h | 4 +- urcu/uatomic_arch_alpha.h | 32 ++++ urcu/uatomic_arch_ppc.h | 29 +---- urcu/uatomic_arch_s390.h | 71 +--------- urcu/uatomic_arch_sparc64.h | 112 +------------- urcu/uatomic_arch_x86.h | 39 ++---- urcu/uatomic_generic.h | 355 +++++++++++++++++++++++++++++++++++++++++++ 18 files changed, 633 insertions(+), 488 deletions(-) create mode 100644 urcu/arch_alpha.h create mode 100644 urcu/arch_generic.h create mode 100644 urcu/uatomic_arch_alpha.h create mode 100644 urcu/uatomic_generic.h