Add compatibility support for older intel cpus
[urcu.git] / urcu / arch_x86.h
index 66b27d5574df9d0b90820e0020282ec79616167f..806878e26791132b1813c1ca25197efee59b06ce 100644 (file)
@@ -23,6 +23,7 @@
  */
 
 #include <urcu/compiler.h>
+#include "config.h"
 
 /* Assume P4 or newer */
 #define CONFIG_HAVE_FENCE 1
@@ -63,9 +64,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.022138 seconds and 4 git commands to generate.