summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2023-02-17 18:49:33 -0500
committerBen Gamari <ben@smart-cactus.org>2023-02-17 18:49:33 -0500
commit05c5b14c5e28c279de0d84472526eccb7f05d00a (patch)
tree9120682b8176b6c7b7ae5f42272e9c9b8286bde2
parent2cca72cd3e4de25fa81dc6fcc9979e613697a838 (diff)
downloadhaskell-wip/T22965.tar.gz
rts: Drop no-alignment special case for Windowswip/T22965
For reasons that aren't clear, we were previously not giving Capability the same favorable alignment on Windows that we provided on other platforms. Fix this.
-rw-r--r--rts/Capability.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/rts/Capability.h b/rts/Capability.h
index 0c4848c08d..4f9593c8b2 100644
--- a/rts/Capability.h
+++ b/rts/Capability.h
@@ -32,10 +32,8 @@
// anything else, so round it up to a cache line size:
#if defined(s390x_HOST_ARCH)
#define CAPABILITY_ALIGNMENT 256
-#elif !defined(mingw32_HOST_OS)
-#define CAPABILITY_ALIGNMENT 64
#else
-#define CAPABILITY_ALIGNMENT 1
+#define CAPABILITY_ALIGNMENT 64
#endif
/* N.B. This must be consistent with CapabilityPublic in RtsAPI.h */