From 3f79eaa870a87c7f7d19c0e340791fac80a16d06 Mon Sep 17 00:00:00 2001 From: Bobby Bingham Date: Mon, 14 Nov 2016 21:37:42 -0600 Subject: [PATCH] fix use of incomplete struct type in s390x user.h --- 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 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; -- 2.25.1