|
|
Message-Id: <20161115033742.26538-3-koorogi@koorogi.info>
Date: Mon, 14 Nov 2016 21:37:42 -0600
From: Bobby Bingham <koorogi@...rogi.info>
To: musl@...ts.openwall.com
Subject: [PATCH 2/2] s390x: reorder structs to fix forward declaration
---
arch/s390x/bits/user.h | 20 ++++++++++----------
1 file changed, 10 insertions(+), 10 deletions(-)
diff --git a/arch/s390x/bits/user.h b/arch/s390x/bits/user.h
index 428a397..90f07b7 100644
--- a/arch/s390x/bits/user.h
+++ b/arch/s390x/bits/user.h
@@ -23,16 +23,6 @@ struct _user_fpregs_struct {
double fprs[16];
};
-struct _user_regs_struct {
- struct _user_psw_struct psw;
- unsigned long gprs[16];
- unsigned acrs[16];
- unsigned long orig_gpr2;
- struct _user_fpregs_struct fp_regs;
- struct _user_per_struct per_info;
- unsigned long ieee_instruction_pointer;
-};
-
struct _user_per_struct {
unsigned long control_regs[3];
unsigned single_step : 1;
@@ -44,6 +34,16 @@ struct _user_per_struct {
unsigned char access_id;
} per_struct;
+struct _user_regs_struct {
+ struct _user_psw_struct psw;
+ unsigned long gprs[16];
+ unsigned acrs[16];
+ unsigned long orig_gpr2;
+ struct _user_fpregs_struct fp_regs;
+ struct _user_per_struct per_info;
+ unsigned long ieee_instruction_pointer;
+};
+
struct user {
struct _user_regs_struct regs;
unsigned long u_tsize, u_dsize, u_ssize;
--
2.10.2
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.