From: Tom Musta Date: Tue, 12 Aug 2014 18:53:32 +0000 (-0500) Subject: linux-user: PPC64 semid_ds Doesnt Include _unused1 and _unused2 X-Git-Tag: TizenStudio_2.0_p2.3.2~208^2~644^2~13 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=035273440b4d12c6e8b1cf2787778064355d21e2;p=sdk%2Femulator%2Fqemu.git linux-user: PPC64 semid_ds Doesnt Include _unused1 and _unused2 The 64 bit PowerPC platforms eliminate the _unused1 and _unused2 elements of the semid_ds structure from . So eliminate these from the target_semid_ds structure. Signed-off-by: Tom Musta Signed-off-by: Riku Voipio --- diff --git a/linux-user/syscall.c b/linux-user/syscall.c index dae10af..fba7fd2 100644 --- a/linux-user/syscall.c +++ b/linux-user/syscall.c @@ -2424,9 +2424,13 @@ struct target_semid_ds { struct target_ipc_perm sem_perm; abi_ulong sem_otime; +#if !defined(TARGET_PPC64) abi_ulong __unused1; +#endif abi_ulong sem_ctime; +#if !defined(TARGET_PPC64) abi_ulong __unused2; +#endif abi_ulong sem_nsems; abi_ulong __unused3; abi_ulong __unused4;