duplicate generic bits/sem.h for each arch using it, in prep to change
authorRich Felker <dalias@aerifal.cx>
Mon, 29 Jul 2019 22:07:23 +0000 (18:07 -0400)
committerRich Felker <dalias@aerifal.cx>
Mon, 29 Jul 2019 22:07:23 +0000 (18:07 -0400)
arch/arm/bits/sem.h [new file with mode: 0644]
arch/i386/bits/sem.h [new file with mode: 0644]
arch/m68k/bits/sem.h [new file with mode: 0644]
arch/microblaze/bits/sem.h [new file with mode: 0644]
arch/or1k/bits/sem.h [new file with mode: 0644]
arch/sh/bits/sem.h [new file with mode: 0644]
arch/x86_64/bits/sem.h [new file with mode: 0644]

diff --git a/arch/arm/bits/sem.h b/arch/arm/bits/sem.h
new file mode 100644 (file)
index 0000000..d383d4e
--- /dev/null
@@ -0,0 +1,16 @@
+struct semid_ds {
+       struct ipc_perm sem_perm;
+       time_t sem_otime;
+       long __unused1;
+       time_t sem_ctime;
+       long __unused2;
+#if __BYTE_ORDER == __LITTLE_ENDIAN
+       unsigned short sem_nsems;
+       char __sem_nsems_pad[sizeof(long)-sizeof(short)];
+#else
+       char __sem_nsems_pad[sizeof(long)-sizeof(short)];
+       unsigned short sem_nsems;
+#endif
+       long __unused3;
+       long __unused4;
+};
diff --git a/arch/i386/bits/sem.h b/arch/i386/bits/sem.h
new file mode 100644 (file)
index 0000000..d383d4e
--- /dev/null
@@ -0,0 +1,16 @@
+struct semid_ds {
+       struct ipc_perm sem_perm;
+       time_t sem_otime;
+       long __unused1;
+       time_t sem_ctime;
+       long __unused2;
+#if __BYTE_ORDER == __LITTLE_ENDIAN
+       unsigned short sem_nsems;
+       char __sem_nsems_pad[sizeof(long)-sizeof(short)];
+#else
+       char __sem_nsems_pad[sizeof(long)-sizeof(short)];
+       unsigned short sem_nsems;
+#endif
+       long __unused3;
+       long __unused4;
+};
diff --git a/arch/m68k/bits/sem.h b/arch/m68k/bits/sem.h
new file mode 100644 (file)
index 0000000..d383d4e
--- /dev/null
@@ -0,0 +1,16 @@
+struct semid_ds {
+       struct ipc_perm sem_perm;
+       time_t sem_otime;
+       long __unused1;
+       time_t sem_ctime;
+       long __unused2;
+#if __BYTE_ORDER == __LITTLE_ENDIAN
+       unsigned short sem_nsems;
+       char __sem_nsems_pad[sizeof(long)-sizeof(short)];
+#else
+       char __sem_nsems_pad[sizeof(long)-sizeof(short)];
+       unsigned short sem_nsems;
+#endif
+       long __unused3;
+       long __unused4;
+};
diff --git a/arch/microblaze/bits/sem.h b/arch/microblaze/bits/sem.h
new file mode 100644 (file)
index 0000000..d383d4e
--- /dev/null
@@ -0,0 +1,16 @@
+struct semid_ds {
+       struct ipc_perm sem_perm;
+       time_t sem_otime;
+       long __unused1;
+       time_t sem_ctime;
+       long __unused2;
+#if __BYTE_ORDER == __LITTLE_ENDIAN
+       unsigned short sem_nsems;
+       char __sem_nsems_pad[sizeof(long)-sizeof(short)];
+#else
+       char __sem_nsems_pad[sizeof(long)-sizeof(short)];
+       unsigned short sem_nsems;
+#endif
+       long __unused3;
+       long __unused4;
+};
diff --git a/arch/or1k/bits/sem.h b/arch/or1k/bits/sem.h
new file mode 100644 (file)
index 0000000..d383d4e
--- /dev/null
@@ -0,0 +1,16 @@
+struct semid_ds {
+       struct ipc_perm sem_perm;
+       time_t sem_otime;
+       long __unused1;
+       time_t sem_ctime;
+       long __unused2;
+#if __BYTE_ORDER == __LITTLE_ENDIAN
+       unsigned short sem_nsems;
+       char __sem_nsems_pad[sizeof(long)-sizeof(short)];
+#else
+       char __sem_nsems_pad[sizeof(long)-sizeof(short)];
+       unsigned short sem_nsems;
+#endif
+       long __unused3;
+       long __unused4;
+};
diff --git a/arch/sh/bits/sem.h b/arch/sh/bits/sem.h
new file mode 100644 (file)
index 0000000..d383d4e
--- /dev/null
@@ -0,0 +1,16 @@
+struct semid_ds {
+       struct ipc_perm sem_perm;
+       time_t sem_otime;
+       long __unused1;
+       time_t sem_ctime;
+       long __unused2;
+#if __BYTE_ORDER == __LITTLE_ENDIAN
+       unsigned short sem_nsems;
+       char __sem_nsems_pad[sizeof(long)-sizeof(short)];
+#else
+       char __sem_nsems_pad[sizeof(long)-sizeof(short)];
+       unsigned short sem_nsems;
+#endif
+       long __unused3;
+       long __unused4;
+};
diff --git a/arch/x86_64/bits/sem.h b/arch/x86_64/bits/sem.h
new file mode 100644 (file)
index 0000000..d383d4e
--- /dev/null
@@ -0,0 +1,16 @@
+struct semid_ds {
+       struct ipc_perm sem_perm;
+       time_t sem_otime;
+       long __unused1;
+       time_t sem_ctime;
+       long __unused2;
+#if __BYTE_ORDER == __LITTLE_ENDIAN
+       unsigned short sem_nsems;
+       char __sem_nsems_pad[sizeof(long)-sizeof(short)];
+#else
+       char __sem_nsems_pad[sizeof(long)-sizeof(short)];
+       unsigned short sem_nsems;
+#endif
+       long __unused3;
+       long __unused4;
+};