]> git.proxmox.com Git - qemu.git/commit - linux-user/syscall_defs.h
linux-user: Fix epoll on ARM hosts
authorAlexander Graf <agraf@suse.de>
Sat, 6 Jul 2013 12:17:53 +0000 (14:17 +0200)
committerRiku Voipio <riku.voipio@linaro.org>
Tue, 23 Jul 2013 14:28:28 +0000 (17:28 +0300)
commitddaa7e5a2ad0ef20fd3d1cc44a9ade75e5eabcfc
treec68ccb045db8e8bbb73088d79022e5c2bd7de01a
parent732f9e89a1c737f738c445ff24929a1bc137d1a9
linux-user: Fix epoll on ARM hosts

The epoll emulation uses data structures without packing them, so the
compiler might choose to add padding inside.

This patch makes the most offending one (target_epoll_event) a packed
structure to make sure we don't pad it by accident. ARM would pad it,
so declare the padding mandatory for ARM targets.

This fixes i386-on-ARM epoll emulation for me.

Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
linux-user/syscall_defs.h