From c53c76305f0e40ef123de7a05d16776e500dcc0e Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Mon, 8 Apr 2024 14:08:47 +0200 Subject: video/ps3eye: set alignment to 64 for shm The mapping is page-aligned anyway. --- video-ps3eye/shm-layout.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3