about summary refs log tree commit diff
path: root/arch/powerpc64/bits
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc64/bits')
-rw-r--r--arch/powerpc64/bits/signal.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/arch/powerpc64/bits/signal.h b/arch/powerpc64/bits/signal.h
index 34693a68..94c7a327 100644
--- a/arch/powerpc64/bits/signal.h
+++ b/arch/powerpc64/bits/signal.h
@@ -17,10 +17,14 @@ typedef struct {
 
 typedef struct {
 	unsigned __int128 vrregs[32];
-	unsigned _pad[3];
-	unsigned vrsave;
-	unsigned vscr;
-	unsigned _pad2[3];
+	struct {
+#if __BIG_ENDIAN__
+		unsigned _pad[3], vscr_word;
+#else
+		unsigned vscr_word, _pad[3];
+#endif
+	} vscr;
+	unsigned vrsave, _pad[3];
 } vrregset_t;
 
 typedef struct sigcontext {