|
@@ -681,7 +681,7 @@ int fpregs_soft_set(struct task_struct *target,
|
|
|
unsigned int pos, unsigned int count,
|
|
|
const void *kbuf, const void __user *ubuf)
|
|
|
{
|
|
|
- struct i387_soft_struct *s387 = &target->thread.xstate->soft;
|
|
|
+ struct i387_soft_struct *s387 = &target->thread.fpu.state->soft;
|
|
|
void *space = s387->st_space;
|
|
|
int ret;
|
|
|
int offset, other, i, tags, regnr, tag, newtop;
|
|
@@ -733,7 +733,7 @@ int fpregs_soft_get(struct task_struct *target,
|
|
|
unsigned int pos, unsigned int count,
|
|
|
void *kbuf, void __user *ubuf)
|
|
|
{
|
|
|
- struct i387_soft_struct *s387 = &target->thread.xstate->soft;
|
|
|
+ struct i387_soft_struct *s387 = &target->thread.fpu.state->soft;
|
|
|
const void *space = s387->st_space;
|
|
|
int ret;
|
|
|
int offset = (S387->ftop & 7) * 10, other = 80 - offset;
|