path: root/arch/powerpc/bits/ipc.h
diff options
authorRich Felker <>2014-03-11 17:01:34 -0400
committerRich Felker <>2014-03-11 17:01:34 -0400
commitad66ae93d083ede90431bacf034f29ebd0815d73 (patch)
treef575200adf58ea9e7410d5f14515aee5719bb050 /arch/powerpc/bits/ipc.h
parentf6e2f7e13f0edb1bb1d94e6ad4bf44abffd048d1 (diff)
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/ipc.h')
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/powerpc/bits/ipc.h b/arch/powerpc/bits/ipc.h
index b0bcfa3f..e1bfe2f5 100644
--- a/arch/powerpc/bits/ipc.h
+++ b/arch/powerpc/bits/ipc.h
@@ -7,8 +7,9 @@ struct ipc_perm
gid_t cgid;
mode_t mode;
int __ipc_perm_seq;
- long __pad1;
- long __pad2;
+ int __pad1;
+ long long __pad2;
+ long long __pad3;
#define IPC_64 0x100