summaryrefslogtreecommitdiff
path: root/arch/s390x
diff options
context:
space:
mode:
authorBobby Bingham <koorogi@koorogi.info>2016-11-14 21:37:42 -0600
committerRich Felker <dalias@aerifal.cx>2016-12-16 22:36:22 -0500
commit3f79eaa870a87c7f7d19c0e340791fac80a16d06 (patch)
tree55a8b0078f4f979dabe436976924a1e2627b6ed3 /arch/s390x
parentafefce19fd7d1dd6aa8789f598a60b1d974f45fb (diff)
downloadmusl-3f79eaa870a87c7f7d19c0e340791fac80a16d06.tar.gz
fix use of incomplete struct type in s390x user.h
Diffstat (limited to 'arch/s390x')
-rw-r--r--arch/s390x/bits/user.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/arch/s390x/bits/user.h b/arch/s390x/bits/user.h
index 428a3979..90f07b78 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;