Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 86152
b: refs/heads/master
c: f9cb02b
h: refs/heads/master
v: v3
  • Loading branch information
Roland McGrath authored and Linus Torvalds committed Feb 22, 2008
1 parent 30abb13 commit 44a76ef
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: 1a4c6be4aca5ad6b300932efed1e2729fdc25af9
refs/heads/master: f9cb02b0be4de3c51edfdd701754e13d9a2d20d6
4 changes: 2 additions & 2 deletions trunk/arch/x86/kernel/ptrace.c
Original file line number Diff line number Diff line change
Expand Up @@ -1160,7 +1160,7 @@ static int genregs32_set(struct task_struct *target,
if (kbuf) {
const compat_ulong_t *k = kbuf;
while (count > 0 && !ret) {
ret = putreg(target, pos, *k++);
ret = putreg32(target, pos, *k++);
count -= sizeof(*k);
pos += sizeof(*k);
}
Expand All @@ -1171,7 +1171,7 @@ static int genregs32_set(struct task_struct *target,
ret = __get_user(word, u++);
if (ret)
break;
ret = putreg(target, pos, word);
ret = putreg32(target, pos, word);
count -= sizeof(*u);
pos += sizeof(*u);
}
Expand Down

0 comments on commit 44a76ef

Please sign in to comment.