Commit f94c0ff7 authored by Pavel Emelyanov's avatar Pavel Emelyanov

arch: Reintroduce user_fpregs_struct_t on x86

Signed-off-by: 's avatarPavel Emelyanov <xemul@virtuozzo.com>
Reviewed-by: 's avatarCyrill Gorcunov <gorcunov@openvz.org>
parent 8b248c02
......@@ -112,7 +112,7 @@ int syscall_seized(struct parasite_ctl *ctl, int nr, unsigned long *ret,
int get_task_regs(pid_t pid, user_regs_struct_t regs, CoreEntry *core)
{
struct xsave_struct xsave = { };
user_fpregs_struct_t xsave = { };
struct iovec iov;
int ret = -1;
......
......@@ -83,6 +83,7 @@ typedef struct {
unsigned long gs;
} user_regs_struct_t;
#if 0
typedef struct {
unsigned short cwd;
unsigned short swd;
......@@ -97,6 +98,9 @@ typedef struct {
u32 xmm_space[64]; /* 16*16 bytes for each XMM-reg = 256 bytes */
u32 padding[24];
} user_fpregs_struct_t;
#endif
typedef struct xsave_struct user_fpregs_struct_t;
#ifdef CONFIG_X86_64
# define TASK_SIZE ((1UL << 47) - PAGE_SIZE)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment