move config.h to urcu/config.h and install it
[urcu.git] / urcu / arch_ppc.h
index edd1139cf761d28889b5561b44a9ddd32f52440b..2f9460b8542d6a8a43baa5f55c59b324284e34d2 100644 (file)
@@ -23,6 +23,7 @@
  */
 
 #include <urcu/compiler.h>
+#include <urcu/config.h>
 
 #define CONFIG_HAVE_FENCE 1
 #define CONFIG_HAVE_MEM_COHERENCY
@@ -53,9 +54,6 @@
 #define rmc()  barrier()
 #define wmc()  barrier()
 
-/* Assume SMP machine, given we don't have this information */
-#define CONFIG_SMP 1
-
 #ifdef CONFIG_SMP
 #define smp_mb()       mb()
 #define smp_rmb()      rmb()
This page took 0.022807 seconds and 4 git commands to generate.