From: Bobby Bingham <koorogi@koorogi.info>
To: musl@lists.openwall.com
Subject: [PATCH 2/2] s390x: reorder structs to fix forward declaration
Date: Mon, 14 Nov 2016 21:37:42 -0600 [thread overview]
Message-ID: <20161115033742.26538-3-koorogi@koorogi.info> (raw)
In-Reply-To: <20161115033742.26538-1-koorogi@koorogi.info>
---
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
prev parent reply other threads:[~2016-11-15 3:37 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-11-15 3:37 Fixes to s390x user.h Bobby Bingham
2016-11-15 3:37 ` [PATCH 1/2] s390x: fix typo s/ELG/ELF/ Bobby Bingham
2016-11-15 3:37 ` Bobby Bingham [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20161115033742.26538-3-koorogi@koorogi.info \
--to=koorogi@koorogi.info \
--cc=musl@lists.openwall.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/musl/
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).