aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/sparc
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/unix/sysv/linux/sparc')
-rw-r--r--sysdeps/unix/sysv/linux/sparc/bits/types/struct_semid_ds.h4
-rw-r--r--sysdeps/unix/sysv/linux/sparc/sparc32/struct_kernel_semid64_ds.h12
2 files changed, 14 insertions, 2 deletions
diff --git a/sysdeps/unix/sysv/linux/sparc/bits/types/struct_semid_ds.h b/sysdeps/unix/sysv/linux/sparc/bits/types/struct_semid_ds.h
index 46fcd79fb6..0110c1a940 100644
--- a/sysdeps/unix/sysv/linux/sparc/bits/types/struct_semid_ds.h
+++ b/sysdeps/unix/sysv/linux/sparc/bits/types/struct_semid_ds.h
@@ -25,9 +25,9 @@ struct semid_ds
{
struct ipc_perm sem_perm; /* operation permission struct */
#if __TIMESIZE == 32
- __syscall_ulong_t __glibc_reserved1;
+ __syscall_ulong_t __sem_otime_high;
__time_t sem_otime; /* last semop() time */
- __syscall_ulong_t __glibc_reserved2;
+ __syscall_ulong_t __sem_ctime_high;
__time_t sem_ctime; /* last time changed by semctl() */
#else
__time_t sem_otime; /* last semop() time */
diff --git a/sysdeps/unix/sysv/linux/sparc/sparc32/struct_kernel_semid64_ds.h b/sysdeps/unix/sysv/linux/sparc/sparc32/struct_kernel_semid64_ds.h
new file mode 100644
index 0000000000..8c4697f9ab
--- /dev/null
+++ b/sysdeps/unix/sysv/linux/sparc/sparc32/struct_kernel_semid64_ds.h
@@ -0,0 +1,12 @@
+/* Analogous to kernel struct semid64_ds used on semctl. */
+struct kernel_semid64_ds
+{
+ struct ipc_perm sem_perm;
+ unsigned long sem_otime_high;
+ unsigned long sem_otime;
+ unsigned long sem_ctime_high;
+ unsigned long sem_ctime;
+ unsigned long sem_nsems;
+ unsigned long __unused1;
+ unsigned long __unused2;
+};