mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-01 23:03:54 -06:00
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>
This commit is contained in:
parent
d42744fe04
commit
bf9136722c
2 changed files with 5 additions and 1 deletions
|
@ -129,7 +129,7 @@ struct target_flock {
|
|||
short l_whence;
|
||||
abi_long l_start;
|
||||
abi_long l_len;
|
||||
#if defined(TARGET_MIPS)
|
||||
#if defined(TARGET_MIPS) && (TARGET_ABI_BITS == 32)
|
||||
abi_long l_sysid;
|
||||
#endif
|
||||
int l_pid;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue