Loading arch/sparc/kernel/ptrace_32.c +7 −2 Original line number Diff line number Diff line Loading @@ -168,12 +168,17 @@ static int genregs32_set(struct task_struct *target, if (ret || !count) return ret; ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, ®s->y, ®s->npc, 34 * sizeof(u32), 35 * sizeof(u32)); if (ret || !count) return ret; ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, ®s->y, 35 * sizeof(u32), 36 * sizeof(u32)); if (ret || !count) return ret; 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, Loading Loading
arch/sparc/kernel/ptrace_32.c +7 −2 Original line number Diff line number Diff line Loading @@ -168,12 +168,17 @@ static int genregs32_set(struct task_struct *target, if (ret || !count) return ret; ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, ®s->y, ®s->npc, 34 * sizeof(u32), 35 * sizeof(u32)); if (ret || !count) return ret; ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, ®s->y, 35 * sizeof(u32), 36 * sizeof(u32)); if (ret || !count) return ret; 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, Loading