summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
Diffstat (limited to 'arch')
-rw-r--r--arch/i386/bits/sem.h5
-rw-r--r--arch/m68k/bits/sem.h5
-rw-r--r--arch/or1k/bits/sem.h5
-rw-r--r--arch/x86_64/bits/sem.h5
4 files changed, 0 insertions, 20 deletions
diff --git a/arch/i386/bits/sem.h b/arch/i386/bits/sem.h
index d383d4ea..e61571c1 100644
--- a/arch/i386/bits/sem.h
+++ b/arch/i386/bits/sem.h
@@ -4,13 +4,8 @@ struct semid_ds {
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
index d383d4ea..08faafea 100644
--- a/arch/m68k/bits/sem.h
+++ b/arch/m68k/bits/sem.h
@@ -4,13 +4,8 @@ struct semid_ds {
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
index d383d4ea..08faafea 100644
--- a/arch/or1k/bits/sem.h
+++ b/arch/or1k/bits/sem.h
@@ -4,13 +4,8 @@ struct semid_ds {
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
index d383d4ea..e61571c1 100644
--- a/arch/x86_64/bits/sem.h
+++ b/arch/x86_64/bits/sem.h
@@ -4,13 +4,8 @@ struct semid_ds {
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;
};