linux-user: Fix target_flock structure for MIPS O64 ABI
commitbf9136722c47ce964715fa3fcff4b16cbbd08d58
authorAleksandar Markovic <amarkovic@wavecomp.com>
Fri, 28 Jun 2019 10:43:36 +0000 (28 12:43 +0200)
committerLaurent Vivier <laurent@vivier.eu>
Tue, 2 Jul 2019 14:56:46 +0000 (2 16:56 +0200)
tree6aa8f99cbdd39738c2bc59417d58891f6d8e25fa
parentd42744fe0417a3b88f04f32881b7af9f48de3d2c
linux-user: Fix target_flock structure for MIPS O64 ABI

Among MIPS ABIs, only MIPS O32 and N32 have special (different
than other architectures) definition of structure flock in kernel.

Bring target_flock definition in QEMU for MIPS O64 ABI to the
correct state, which is currently different than the most common
definition, and it should actually be the same.

Reported-by: Dragan Mladjenovic <dmladjenovic@wavecomp.com>
Signed-off-by: Aleksandar Markovic <amarkovic@wavecomp.com>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Message-Id: <1561718618-20218-4-git-send-email-aleksandar.markovic@rt-rk.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
linux-user/generic/fcntl.h
linux-user/mips/target_fcntl.h