projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
kdb: Use newer api for tasklist scanning
[linux-2.6-microblaze.git]
/
kernel
/
debug
/
gdbstub.c
diff --git
a/kernel/debug/gdbstub.c
b/kernel/debug/gdbstub.c
index
cc3c43d
..
b52ebff
100644
(file)
--- a/
kernel/debug/gdbstub.c
+++ b/
kernel/debug/gdbstub.c
@@
-725,7
+725,7
@@
static void gdb_cmd_query(struct kgdb_state *ks)
}
}
-
do_each
_thread(g, p) {
+
for_each_process
_thread(g, p) {
if (i >= ks->thr_query && !finished) {
int_to_threadref(thref, p->pid);
ptr = pack_threadid(ptr, thref);
@@
-735,7
+735,7
@@
static void gdb_cmd_query(struct kgdb_state *ks)
finished = 1;
}
i++;
- }
while_each_thread(g, p);
+ }
*(--ptr) = '\0';
break;