mirror of
https://git.musl-libc.org/git/musl
synced 2025-01-10 00:32:27 +03:00
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
This commit is contained in:
parent
a393d5cc8d
commit
74bca42e16
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user