Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 107143
b: refs/heads/master
c: 7d2a175
h: refs/heads/master
i:
  107141: 0a560a4
  107139: 83296d1
  107135: 7c5d1f0
v: v3
  • Loading branch information
Michael Neuling authored and Benjamin Herrenschmidt committed Jul 30, 2008
1 parent 4b41413 commit a13dd3f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 1ac42ef844d7c0996f15c6f94f463ac94cb80818
refs/heads/master: 7d2a175b9bf6e9422bebe95130a3c79a25ff4602
4 changes: 2 additions & 2 deletions trunk/arch/powerpc/kernel/ptrace.c
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@ static int vsr_get(struct task_struct *target, const struct user_regset *regset,
flush_vsx_to_thread(target);

for (i = 0; i < 32 ; i++)
buf[i] = current->thread.fpr[i][TS_VSRLOWOFFSET];
buf[i] = target->thread.fpr[i][TS_VSRLOWOFFSET];
ret = user_regset_copyout(&pos, &count, &kbuf, &ubuf,
buf, 0, 32 * sizeof(double));

Expand All @@ -394,7 +394,7 @@ static int vsr_set(struct task_struct *target, const struct user_regset *regset,
ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf,
buf, 0, 32 * sizeof(double));
for (i = 0; i < 32 ; i++)
current->thread.fpr[i][TS_VSRLOWOFFSET] = buf[i];
target->thread.fpr[i][TS_VSRLOWOFFSET] = buf[i];


return ret;
Expand Down

0 comments on commit a13dd3f

Please sign in to comment.