summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/drccache.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/drccache.h')
-rw-r--r--src/devices/cpu/drccache.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/cpu/drccache.h b/src/devices/cpu/drccache.h
index 48243a56482..5ff7045ecd8 100644
--- a/src/devices/cpu/drccache.h
+++ b/src/devices/cpu/drccache.h
@@ -72,7 +72,7 @@ private:
static const size_t CODEGEN_MAX_BYTES = 65536;
// minimum alignment, in bytes (must be power of 2)
- static const size_t CACHE_ALIGNMENT = 8;
+ static const size_t CACHE_ALIGNMENT = alignof(std::max_align_t);
// largest permanent allocation we allow
static const size_t MAX_PERMANENT_ALLOC = 1024;