*/
#include <compiler.h>
-#include <config/config.h>
+#include <urcu/config.h>
#define CONFIG_HAVE_MEM_COHERENCY
+#define CACHE_LINE_SIZE 128
+
+#ifndef __SIZEOF_LONG__
+#ifdef __s390x__
+#define __SIZEOF_LONG__ 8
+#else
+#define __SIZEOF_LONG__ 4
+#endif
+#endif
+
#ifndef BITS_PER_LONG
#define BITS_PER_LONG (__SIZEOF_LONG__ * 8)
#endif