Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 146753
b: refs/heads/master
c: ba0d474
h: refs/heads/master
i:
  146751: a9a14bb
v: v3
  • Loading branch information
Peter Griffin authored and Paul Mundt committed May 8, 2009
1 parent f87fb44 commit 40204b7
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e73173dbe55e5b4c2306728aad50c8e42194f6d5
refs/heads/master: ba0d474082dfa37fb0efd439b4d0c0234ceb1e80
8 changes: 8 additions & 0 deletions trunk/arch/sh/kernel/ptrace_32.c
Original file line number Diff line number Diff line change
Expand Up @@ -334,6 +334,14 @@ long arch_ptrace(struct task_struct *child, long request, long addr, long data)
[(addr - (long)&dummy->fpu) >> 2];
} else if (addr == (long) &dummy->u_fpvalid)
tmp = !!tsk_used_math(child);
else if (addr == PT_TEXT_ADDR)
tmp = child->mm->start_code;
else if (addr == PT_DATA_ADDR)
tmp = child->mm->start_data;
else if (addr == PT_TEXT_END_ADDR)
tmp = child->mm->end_code;
else if (addr == PT_TEXT_LEN)
tmp = child->mm->end_code - child->mm->start_code;
else
tmp = 0;
ret = put_user(tmp, datap);
Expand Down

0 comments on commit 40204b7

Please sign in to comment.