mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-07-22 17:49:13 +00:00
arm: kill fpu_state_t
It has been a mistake to introduce this struct since the FPU state is stored deep inside an ARM sigframe. A remnant of the struct is left to make the code compatible with the universal declaration of the routine sigreturn_prep_fpu_frame(). Signed-off-by: Alexander Kartashov <alekskartashov@parallels.com> Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
parent
a5752177f4
commit
55dda405d4
2 changed files with 2 additions and 9 deletions
|
|
@ -42,6 +42,8 @@ struct vfp_sigframe {
|
|||
struct user_vfp_exc ufp_exc;
|
||||
};
|
||||
|
||||
typedef struct vfp_sigframe fpu_state_t;
|
||||
|
||||
struct aux_sigframe {
|
||||
/*
|
||||
struct crunch_sigframe crunch;
|
||||
|
|
@ -62,8 +64,6 @@ struct sigframe {
|
|||
struct rt_sigframe {
|
||||
struct rt_siginfo info;
|
||||
struct sigframe sig;
|
||||
|
||||
fpu_state_t fpu_state;
|
||||
};
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -228,11 +228,4 @@ typedef uint32_t auxv_t;
|
|||
static inline void *decode_pointer(uint64_t v) { return (void*)(uint32_t)v; }
|
||||
static inline uint64_t encode_pointer(void *p) { return (uint32_t)p; }
|
||||
|
||||
typedef struct {
|
||||
struct user_vfp ufp;
|
||||
struct user_vfp_exc ufp_exc;
|
||||
|
||||
bool has_fpu;
|
||||
} fpu_state_t;
|
||||
|
||||
#endif /* __CR_ASM_TYPES_H__ */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue