*/
#include <urcu/compiler.h>
-#include "config.h"
+#include <urcu/config.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
-#define CONFIG_HAVE_FENCE 1
#define CONFIG_HAVE_MEM_COHERENCY
/* Include size of POWER5+ L3 cache lines: 256 bytes */
#define rmc() barrier()
#define wmc() barrier()
-#ifdef CONFIG_SMP
+#ifdef CONFIG_RCU_SMP
#define smp_mb() mb()
#define smp_rmb() rmb()
#define smp_wmb() wmb()
}
}
+#ifdef __cplusplus
+}
+#endif
+
#endif /* _URCU_ARCH_PPC_H */