diff options
author | Ben Gamari <ben@smart-cactus.org> | 2023-02-17 18:49:33 -0500 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2023-03-02 22:43:22 -0500 |
commit | 5464c73f192f76e75160e8992fe9720d943ae611 (patch) | |
tree | e996494eff31b37bf1d83edea967f055b162aa2f /rts | |
parent | 8a6f745d963fc9b79c7b1e4b477f4fc724233655 (diff) | |
download | haskell-5464c73f192f76e75160e8992fe9720d943ae611.tar.gz |
rts: Drop no-alignment special case for Windows
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.
Diffstat (limited to 'rts')
-rw-r--r-- | rts/Capability.h | 4 |
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 */ |