-#ifndef _ARCH_S390_H
-#define _ARCH_S390_H
+#ifndef _URCU_ARCH_S390_H
+#define _URCU_ARCH_S390_H
/*
* Trivial definitions for the S390 architecture based on information from the
#include <compiler.h>
#include <urcu/config.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
#define CONFIG_HAVE_MEM_COHERENCY
#define CACHE_LINE_SIZE 128
return cycles;
}
-#endif /* _ARCH_S390_H */
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* _URCU_ARCH_S390_H */