about summary refs log tree commit diff
path: root/arch/powerpc/bits/msg.h
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2014-03-11 17:01:34 -0400
committerRich Felker <dalias@aerifal.cx>2014-03-11 17:01:34 -0400
commitad66ae93d083ede90431bacf034f29ebd0815d73 (patch)
treef575200adf58ea9e7410d5f14515aee5719bb050 /arch/powerpc/bits/msg.h
parentf6e2f7e13f0edb1bb1d94e6ad4bf44abffd048d1 (diff)
downloadmusl-ad66ae93d083ede90431bacf034f29ebd0815d73.tar.gz
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/msg.h')
-rw-r--r--arch/powerpc/bits/msg.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/powerpc/bits/msg.h b/arch/powerpc/bits/msg.h
index 3db8576b..a6b9ad5b 100644
--- a/arch/powerpc/bits/msg.h
+++ b/arch/powerpc/bits/msg.h
@@ -1,12 +1,12 @@
 struct msqid_ds
 {
 	struct ipc_perm msg_perm;
-	time_t msg_stime;
 	int __unused1;
-	time_t msg_rtime;
+	time_t msg_stime;
 	int __unused2;
-	time_t msg_ctime;
+	time_t msg_rtime;
 	int __unused3;
+	time_t msg_ctime;
 	unsigned long msg_cbytes;
 	msgqnum_t msg_qnum;
 	msglen_t msg_qbytes;