From e0ab43eb922df8fee5f28416d41fa3b2ca4a7a43 Mon Sep 17 00:00:00 2001 From: Mathieu Desnoyers Date: Fri, 10 Jun 2011 19:20:50 -0400 Subject: [PATCH] Add back uatomic_arch.h for slow deprecation process Signed-off-by: Mathieu Desnoyers --- .gitignore | 2 +- Makefile.am | 2 +- urcu/uatomic_arch.h | 2 ++ 3 files changed, 4 insertions(+), 2 deletions(-) create mode 100644 urcu/uatomic_arch.h diff --git a/.gitignore b/.gitignore index 529f6ca..6eeb2a1 100644 --- a/.gitignore +++ b/.gitignore @@ -12,7 +12,7 @@ urcutorture-yield urcu-yield.o tests/api.h urcu/arch.h -urcu/uatomic_arch.h +urcu/uatomic.h liburcu-defer.so liburcu-mb.so liburcu-qsbr.so diff --git a/Makefile.am b/Makefile.am index db367df..ba0a131 100644 --- a/Makefile.am +++ b/Makefile.am @@ -14,7 +14,7 @@ nobase_dist_include_HEADERS = urcu/compiler.h urcu/hlist.h urcu/list.h \ urcu/uatomic/generic.h urcu/arch/generic.h urcu/wfstack.h \ urcu/wfqueue.h urcu/rculfstack.h urcu/rculfqueue.h \ urcu/ref.h urcu/map/*.h urcu/static/*.h urcu/cds.h \ - urcu/urcu_ref.h urcu/urcu-futex.h + urcu/urcu_ref.h urcu/urcu-futex.h urcu/uatomic_arch.h nobase_nodist_include_HEADERS = urcu/arch.h urcu/uatomic.h urcu/config.h EXTRA_DIST = $(top_srcdir)/urcu/arch/*.h $(top_srcdir)/urcu/uatomic/*.h \ diff --git a/urcu/uatomic_arch.h b/urcu/uatomic_arch.h new file mode 100644 index 0000000..baaa7a7 --- /dev/null +++ b/urcu/uatomic_arch.h @@ -0,0 +1,2 @@ +#warning "urcu/uatomic_arch.h is deprecated. Please include urcu/uatomic.h instead." +#include -- 2.34.1