File tree Expand file tree Collapse file tree 1 file changed +3
-7
lines changed
Source/compositorbuffer/include/compositorbuffer Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -37,14 +37,10 @@ namespace Compositor {
3737 template <const uint8_t PLANES>
3838 class CompositorBufferType : public Exchange ::ICompositionBuffer, public Core::IResource {
3939 private:
40- // We need to test this on a 32 bit platform. On 64 bits platforms we do need
41- // the data to be written into the eventfd to be 64 bits otherwise it does not
42- // respond!
43- #if defined(__SIZEOF_POINTER__) && (__SIZEOF_POINTER__ == 8)
40+ /* **
41+ * We need a 64bit according: https://github.com/torvalds/linux/blob/v6.1/fs/eventfd.c#L275
42+ */
4443 using EventFrame = uint64_t ;
45- #else
46- using EventFrame = uint32_t ;
47- #endif
4844
4945 // We need some shared space for data to exchange, and to create a lock..
5046 class SharedStorage {
You can’t perform that action at this time.
0 commit comments