diff options
author | Rich Felker <dalias@aerifal.cx> | 2014-03-11 17:01:34 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2014-03-11 17:01:34 -0400 |
commit | ad66ae93d083ede90431bacf034f29ebd0815d73 (patch) | |
tree | f575200adf58ea9e7410d5f14515aee5719bb050 /arch/powerpc/bits/shm.h | |
parent | f6e2f7e13f0edb1bb1d94e6ad4bf44abffd048d1 (diff) | |
download | musl-ad66ae93d083ede90431bacf034f29ebd0815d73.tar.gz musl-ad66ae93d083ede90431bacf034f29ebd0815d73.tar.bz2 musl-ad66ae93d083ede90431bacf034f29ebd0815d73.tar.xz musl-ad66ae93d083ede90431bacf034f29ebd0815d73.zip |
fix sysvipc structures on powerpc
these have been wrong for a long time and were never detected or
corrected. powerpc needs some gratuitous extra padding/reserved slots
in ipc_perm, big-endian ordering for the padding of time_t slots that
was intended by the kernel folks to allow a transition to 64-bit
time_t, and some minor gratuitous reordering of struct members.
Diffstat (limited to 'arch/powerpc/bits/shm.h')
-rw-r--r-- | arch/powerpc/bits/shm.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/arch/powerpc/bits/shm.h b/arch/powerpc/bits/shm.h index 547581f1..c698ef34 100644 --- a/arch/powerpc/bits/shm.h +++ b/arch/powerpc/bits/shm.h @@ -3,13 +3,14 @@ struct shmid_ds { struct ipc_perm shm_perm; - size_t shm_segsz; - time_t shm_atime; int __unused1; - time_t shm_dtime; + time_t shm_atime; int __unused2; - time_t shm_ctime; + time_t shm_dtime; int __unused3; + time_t shm_ctime; + int __unused4; + size_t shm_segsz; pid_t shm_cpid; pid_t shm_lpid; unsigned long shm_nattch; |