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 <sys/sem.h>.  So eliminate
these from the target_semid_ds structure.

Signed-off-by: Tom Musta <tommusta@gmail.com>
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
This commit is contained in:
Tom Musta 2014-08-12 13:53:32 -05:00 committed by Riku Voipio
parent 9af5c906d1
commit 035273440b

View File

@ -2424,9 +2424,13 @@ struct target_semid_ds
{ {
struct target_ipc_perm sem_perm; struct target_ipc_perm sem_perm;
abi_ulong sem_otime; abi_ulong sem_otime;
#if !defined(TARGET_PPC64)
abi_ulong __unused1; abi_ulong __unused1;
#endif
abi_ulong sem_ctime; abi_ulong sem_ctime;
#if !defined(TARGET_PPC64)
abi_ulong __unused2; abi_ulong __unused2;
#endif
abi_ulong sem_nsems; abi_ulong sem_nsems;
abi_ulong __unused3; abi_ulong __unused3;
abi_ulong __unused4; abi_ulong __unused4;