From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/10736 Path: news.gmane.org!.POSTED!not-for-mail From: Bobby Bingham Newsgroups: gmane.linux.lib.musl.general Subject: [PATCH 2/2] s390x: reorder structs to fix forward declaration Date: Mon, 14 Nov 2016 21:37:42 -0600 Message-ID: <20161115033742.26538-3-koorogi@koorogi.info> References: <20161115033742.26538-1-koorogi@koorogi.info> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1479181128 13370 195.159.176.226 (15 Nov 2016 03:38:48 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 15 Nov 2016 03:38:48 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-10749-gllmg-musl=m.gmane.org@lists.openwall.com Tue Nov 15 04:38:39 2016 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by blaine.gmane.org with smtp (Exim 4.84_2) (envelope-from ) id 1c6UZh-0008WB-Js for gllmg-musl@m.gmane.org; Tue, 15 Nov 2016 04:38:21 +0100 Original-Received: (qmail 30142 invoked by uid 550); 15 Nov 2016 03:38:21 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Original-Received: (qmail 28510 invoked from network); 15 Nov 2016 03:38:09 -0000 X-Mailer: git-send-email 2.10.2 In-Reply-To: <20161115033742.26538-1-koorogi@koorogi.info> Xref: news.gmane.org gmane.linux.lib.musl.general:10736 Archived-At: --- 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