projects
/
urcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update arch_s390.h, missing definitions
[urcu.git]
/
urcu
/
arch_s390.h
diff --git
a/urcu/arch_s390.h
b/urcu/arch_s390.h
index fc7b3bc2d6b27a979485f1d84a366acc53311820..148545b2df5d44c435a96bfde6718018e4069888 100644
(file)
--- a/
urcu/arch_s390.h
+++ b/
urcu/arch_s390.h
@@
-33,6
+33,16
@@
#define CONFIG_HAVE_MEM_COHERENCY
#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
#ifndef BITS_PER_LONG
#define BITS_PER_LONG (__SIZEOF_LONG__ * 8)
#endif
This page took
0.023479 seconds
and
4
git commands to generate.