diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2024-04-08 14:08:47 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2024-05-09 15:50:49 +0200 |
commit | c53c76305f0e40ef123de7a05d16776e500dcc0e (patch) | |
tree | 753cadf37a515a7ac117c2549bf72a951ab576d3 | |
parent | c20ca88dc54a5049c39bb0b168183ad954ac62ae (diff) |
video/ps3eye: set alignment to 64 for shm
The mapping is page-aligned anyway.
-rw-r--r-- | video-ps3eye/shm-layout.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/video-ps3eye/shm-layout.hpp b/video-ps3eye/shm-layout.hpp index 0b6c132e..79680e63 100644 --- a/video-ps3eye/shm-layout.hpp +++ b/video-ps3eye/shm-layout.hpp @@ -30,7 +30,7 @@ struct shm_out }; }; -struct shm { +alignas(64) struct shm { shm_out out; [[maybe_unused]] const char _padding[128 - sizeof(shm_out) % 128]; // NOLINT shm_in in; |