Commit 9049a40c authored by David S. Miller's avatar David S. Miller
parents 824c874a 9d964e1b
...@@ -168,12 +168,17 @@ static int genregs32_set(struct task_struct *target, ...@@ -168,12 +168,17 @@ static int genregs32_set(struct task_struct *target,
if (ret || !count) if (ret || !count)
return ret; return ret;
ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf,
&regs->y, &regs->npc,
34 * sizeof(u32), 35 * sizeof(u32)); 34 * sizeof(u32), 35 * sizeof(u32));
if (ret || !count) if (ret || !count)
return ret; return ret;
ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf,
&regs->y,
35 * sizeof(u32), 36 * sizeof(u32));
if (ret || !count)
return ret;
return user_regset_copyin_ignore(&pos, &count, &kbuf, &ubuf, return user_regset_copyin_ignore(&pos, &count, &kbuf, &ubuf,
35 * sizeof(u32), 38 * sizeof(u32)); 36 * sizeof(u32), 38 * sizeof(u32));
} }
static int fpregs32_get(struct task_struct *target, static int fpregs32_get(struct task_struct *target,
......
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