* [PATCH] parisc: Fix compat_semid64_ds struct
@ 2015-10-28 22:17 Helge Deller
0 siblings, 0 replies; only message in thread
From: Helge Deller @ 2015-10-28 22:17 UTC (permalink / raw)
To: linux-parisc, James Bottomley, John David Anglin
Fix struct compat_semid64_ds to match our version of semid64_ds from
asm/sembuf.h. Basically the compat version did not take the
big-endianess into account.
Signed-off-by: Helge Deller <deller@gmx.de>
diff --git a/arch/parisc/include/asm/compat.h b/arch/parisc/include/asm/compat.h
index 94710cf..0448a2c 100644
--- a/arch/parisc/include/asm/compat.h
+++ b/arch/parisc/include/asm/compat.h
@@ -206,10 +206,10 @@ struct compat_ipc64_perm {
struct compat_semid64_ds {
struct compat_ipc64_perm sem_perm;
- compat_time_t sem_otime;
unsigned int __unused1;
- compat_time_t sem_ctime;
+ compat_time_t sem_otime;
unsigned int __unused2;
+ compat_time_t sem_ctime;
compat_ulong_t sem_nsems;
compat_ulong_t __unused3;
compat_ulong_t __unused4;
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2015-10-28 22:17 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-28 22:17 [PATCH] parisc: Fix compat_semid64_ds struct Helge Deller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).