]> git.ipfire.org Git - thirdparty/qemu.git/commit
Fixed incorrect LLONG alignment for openrisc and cris
authorLuca Bonissi <qemu@bonslack.org>
Thu, 3 Aug 2023 00:15:57 +0000 (02:15 +0200)
committerMichael Tokarev <mjt@tls.msk.ru>
Mon, 11 Sep 2023 07:53:50 +0000 (10:53 +0300)
commit0434ea16fee257c0da46c22402cd2130cdd7249a
tree3200b8ee633fc08ead5e79d5f6c0af20b0a7e5f0
parente29b1ef53c302142f26ed58f50b677056b939fe4
Fixed incorrect LLONG alignment for openrisc and cris

OpenRISC (or1k) has long long alignment to 4 bytes, but currently not
defined in abitypes.h. This lead to incorrect packing of /epoll_event/
structure and eventually infinite loop while waiting for file
descriptor[s] event[s].

Fixed also CRIS alignments (1 byte for all types).

Signed-off-by: Luca Bonissi <qemu@bonslack.org>
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1770
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
(cherry picked from commit 6ee960823da8fd780ae9912c4327b7e85e80d846)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
include/exec/user/abitypes.h