diff options
Diffstat (limited to 'sysdeps/unix/sysv/linux/mips')
-rw-r--r-- | sysdeps/unix/sysv/linux/mips/bits/types/struct_semid_ds.h | 4 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/mips/struct_kernel_semid64_ds.h | 10 |
2 files changed, 12 insertions, 2 deletions
diff --git a/sysdeps/unix/sysv/linux/mips/bits/types/struct_semid_ds.h b/sysdeps/unix/sysv/linux/mips/bits/types/struct_semid_ds.h index 8954209a29..eec4a18cae 100644 --- a/sysdeps/unix/sysv/linux/mips/bits/types/struct_semid_ds.h +++ b/sysdeps/unix/sysv/linux/mips/bits/types/struct_semid_ds.h @@ -27,6 +27,6 @@ struct semid_ds __time_t sem_otime; /* last semop() time */ __time_t sem_ctime; /* last time changed by semctl() */ __syscall_ulong_t sem_nsems; /* number of semaphores in set */ - __syscall_ulong_t __glibc_reserved3; - __syscall_ulong_t __glibc_reserved4; + __syscall_ulong_t __sem_otime_high; + __syscall_ulong_t __sem_ctime_high; }; diff --git a/sysdeps/unix/sysv/linux/mips/struct_kernel_semid64_ds.h b/sysdeps/unix/sysv/linux/mips/struct_kernel_semid64_ds.h new file mode 100644 index 0000000000..76a9d83ea5 --- /dev/null +++ b/sysdeps/unix/sysv/linux/mips/struct_kernel_semid64_ds.h @@ -0,0 +1,10 @@ +/* Analogous to kernel struct semid64_ds used on semctl. */ +struct kernel_semid64_ds +{ + struct ipc_perm sem_perm; + unsigned long sem_otime; + unsigned long sem_ctime; + unsigned long sem_nsems; + unsigned long sem_otime_high; + unsigned long sem_ctime_high; +}; |