about summary refs log tree commit diff
path: root/arch/s390x/bits/user.h
diff options
context:
space:
mode:
authorTuan M. Hoang <tmhoang@flatglobe.org>2017-03-14 16:44:04 -0400
committerRich Felker <dalias@aerifal.cx>2017-03-15 20:25:45 -0400
commit74bca42e1613c58805d7b048841c2fa8f8502158 (patch)
treefdd875d4e54b5cbfb11d8520e82d063c8f3ce130 /arch/s390x/bits/user.h
parenta393d5cc8d22b628fcc1da1b3a2cdae42ca643a9 (diff)
downloadmusl-74bca42e1613c58805d7b048841c2fa8f8502158.tar.gz
musl-74bca42e1613c58805d7b048841c2fa8f8502158.tar.xz
musl-74bca42e1613c58805d7b048841c2fa8f8502158.zip
s390x: fix fpreg_t and remove unused per_struct
Including sys/procfs.h complains unknown type name 'fpreg_t' in
bits/user.h. fpreg_t in bits/signal.h and elf_fpreg_t in bits/user.h
are practically the same.

per_struct is never used, even conflicts with kernel header
asm/ptrace.h
Diffstat (limited to 'arch/s390x/bits/user.h')
-rw-r--r--arch/s390x/bits/user.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/s390x/bits/user.h b/arch/s390x/bits/user.h
index 90f07b78..17bce16f 100644
--- a/arch/s390x/bits/user.h
+++ b/arch/s390x/bits/user.h
@@ -8,7 +8,7 @@ typedef union {
 
 typedef struct {
 	unsigned fpc;
-	fpreg_t fprs[16];
+	elf_fpreg_t fprs[16];
 } elf_fpregset_t;
 
 #define ELF_NGREG 27
@@ -32,7 +32,7 @@ struct _user_per_struct {
 	unsigned short perc_atmid;
 	unsigned long address;
 	unsigned char access_id;
-} per_struct;
+};
 
 struct _user_regs_struct {
 	struct _user_psw_struct psw;