summaryrefslogtreecommitdiffstats
path: root/libpdbg
diff options
context:
space:
mode:
authorAlistair Popple <alistair@popple.id.au>2018-08-09 18:13:26 +1000
committerAlistair Popple <alistair@popple.id.au>2018-08-13 15:26:36 +1000
commit9bf63c61da9137429263d5697ff837069b86a1ff (patch)
tree39e3ee6af901ca3ecab1cc037d1410efde71a322 /libpdbg
parentab64e1f3eb8bbf927f37b53fbc51bea25a1c844b (diff)
downloadpdbg-9bf63c61da9137429263d5697ff837069b86a1ff.tar.gz
pdbg-9bf63c61da9137429263d5697ff837069b86a1ff.zip
libpdbg/p9chip.c: Use the standard function for iterating targets
Signed-off-by: Alistair Popple <alistair@popple.id.au>
Diffstat (limited to 'libpdbg')
-rw-r--r--libpdbg/p9chip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpdbg/p9chip.c b/libpdbg/p9chip.c
index b347cc1..2585f11 100644
--- a/libpdbg/p9chip.c
+++ b/libpdbg/p9chip.c
@@ -223,7 +223,7 @@ static int p9_ram_setup(struct thread *thread)
/* We can only ram a thread if all the threads on the core/chip are
* quiesced */
- dt_for_each_compatible(&chip->target, target, "ibm,power9-thread") {
+ pdbg_for_each_target("thread", &chip->target, target) {
struct thread *tmp;
/* If this thread wasn't enabled it may not yet have been probed
OpenPOWER on IntegriCloud