Skip to contentSkip to conversation

parisc: Fix compat_semid64_ds struct

PATCH New Helge Deller 1 participant 1 message Oct 28, 2015 PA-RISC architecture

lore
Share & tools
lore

Helge Deller

author maintainer
#0 lore raw

PATCH 1/1 parisc: Fix compat_semid64_ds struct

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.

arch/parisc/include/asm/compat.h +2 -2
index 94710cf..0448a2c 100644
@@ -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;