summaryrefslogtreecommitdiff
path: root/rts/Capability.h
diff options
context:
space:
mode:
Diffstat (limited to 'rts/Capability.h')
-rw-r--r--rts/Capability.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/rts/Capability.h b/rts/Capability.h
index 2a5f127793..0833006b0c 100644
--- a/rts/Capability.h
+++ b/rts/Capability.h
@@ -160,7 +160,9 @@ struct Capability_ {
} // typedef Capability is defined in RtsAPI.h
// We never want a Capability to overlap a cache line with anything
// else, so round it up to a cache line size:
-#if !defined(mingw32_HOST_OS)
+#if defined(s390x_HOST_ARCH)
+ ATTRIBUTE_ALIGNED(256)
+#elif !defined(mingw32_HOST_OS)
ATTRIBUTE_ALIGNED(64)
#endif
;