projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[IA64] find thread for user rbs address
[powerpc.git]
/
arch
/
ia64
/
kernel
/
ptrace.c
diff --git
a/arch/ia64/kernel/ptrace.c
b/arch/ia64/kernel/ptrace.c
index
f1ec129
..
3f89187
100644
(file)
--- a/
arch/ia64/kernel/ptrace.c
+++ b/
arch/ia64/kernel/ptrace.c
@@
-607,7
+607,7
@@
find_thread_for_addr (struct task_struct *child, unsigned long addr)
*/
list_for_each_safe(this, next, ¤t->children) {
p = list_entry(this, struct task_struct, sibling);
- if (p->
mm != mm
)
+ if (p->
tgid != child->tgid
)
continue;
if (thread_matches(p, addr)) {
child = p;