Update arch_s390.h, missing definitions
authorMathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Tue, 1 Dec 2009 15:47:21 +0000 (10:47 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Tue, 1 Dec 2009 15:47:21 +0000 (10:47 -0500)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
urcu/arch_s390.h

index fc7b3bc2d6b27a979485f1d84a366acc53311820..148545b2df5d44c435a96bfde6718018e4069888 100644 (file)
 
 #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
This page took 0.024728 seconds and 4 git commands to generate.