mailing list of musl libc
 help / color / mirror / code / Atom feed
* Fixes to s390x user.h
@ 2016-11-15  3:37 Bobby Bingham
  2016-11-15  3:37 ` [PATCH 1/2] s390x: fix typo s/ELG/ELF/ Bobby Bingham
  2016-11-15  3:37 ` [PATCH 2/2] s390x: reorder structs to fix forward declaration Bobby Bingham
  0 siblings, 2 replies; 3+ messages in thread
From: Bobby Bingham @ 2016-11-15  3:37 UTC (permalink / raw)
  To: musl

I've had a couple minor mistakes reported in s390x's bits/user.h.
These patches address them.



^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH 1/2] s390x: fix typo s/ELG/ELF/
  2016-11-15  3:37 Fixes to s390x user.h Bobby Bingham
@ 2016-11-15  3:37 ` Bobby Bingham
  2016-11-15  3:37 ` [PATCH 2/2] s390x: reorder structs to fix forward declaration Bobby Bingham
  1 sibling, 0 replies; 3+ messages in thread
From: Bobby Bingham @ 2016-11-15  3:37 UTC (permalink / raw)
  To: musl

---
 arch/s390x/bits/user.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/s390x/bits/user.h b/arch/s390x/bits/user.h
index d2065b5..428a397 100644
--- a/arch/s390x/bits/user.h
+++ b/arch/s390x/bits/user.h
@@ -12,7 +12,7 @@ typedef struct {
 } elf_fpregset_t;
 
 #define ELF_NGREG 27
-typedef unsigned long elf_greg_t, elf_gregset_t[ELG_NGREG];
+typedef unsigned long elf_greg_t, elf_gregset_t[ELF_NGREG];
 
 struct _user_psw_struct {
 	unsigned long mask, addr;
-- 
2.10.2



^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH 2/2] s390x: reorder structs to fix forward declaration
  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
  1 sibling, 0 replies; 3+ messages in thread
From: Bobby Bingham @ 2016-11-15  3:37 UTC (permalink / raw)
  To: musl

---
 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



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-11-15  3:37 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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 ` [PATCH 2/2] s390x: reorder structs to fix forward declaration Bobby Bingham

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).