mirror of
https://git.FreeBSD.org/src.git
synced 2024-11-28 08:02:54 +00:00
linux(4): Fix semid64_ds structure layout
Unlike x86_64, other 64-bit architectures do not have paddings for the time fields. MFC after: 1 week
This commit is contained in:
parent
4fe779900b
commit
1ee29160c5
@ -101,9 +101,13 @@ struct l_msqid64_ds {
|
||||
struct l_semid64_ds {
|
||||
struct l_ipc64_perm sem_perm; /* permissions */
|
||||
l_time_t sem_otime; /* last semop time */
|
||||
#if defined(__amd64__) || defined(__i386__)
|
||||
l_ulong __unused1;
|
||||
#endif
|
||||
l_time_t sem_ctime; /* last change time */
|
||||
#if defined(__amd64__) || defined(__i386__)
|
||||
l_ulong __unused2;
|
||||
#endif
|
||||
l_ulong sem_nsems; /* no. of semaphores in array */
|
||||
l_ulong __unused3;
|
||||
l_ulong __unused4;
|
||||
|
Loading…
Reference in New Issue
Block a user