Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 28807
b: refs/heads/master
c: d3c58fb
h: refs/heads/master
i:
  28805: a030445
  28803: f64172c
  28799: e6a32ea
v: v3
  • Loading branch information
Anton Blanchard authored and Paul Mackerras committed Jun 21, 2006
1 parent e1584e0 commit 17da13c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 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: 1e92a550e80fef01ebcc0bcd0896109cdb986c72
refs/heads/master: d3c58fb177dc957af5cdac5ad1638d713fdb8765
8 changes: 2 additions & 6 deletions trunk/arch/powerpc/platforms/pseries/iommu.c
Original file line number Diff line number Diff line change
Expand Up @@ -331,13 +331,9 @@ static void iommu_bus_setup_pSeries(struct pci_bus *bus)
if (isa_dn_orig)
of_node_put(isa_dn_orig);

/* Count number of direct PCI children of the PHB.
* All PCI device nodes have class-code property, so it's
* an easy way to find them.
*/
/* Count number of direct PCI children of the PHB. */
for (children = 0, tmp = dn->child; tmp; tmp = tmp->sibling)
if (get_property(tmp, "class-code", NULL))
children++;
children++;

DBG("Children: %d\n", children);

Expand Down

0 comments on commit 17da13c

Please sign in to comment.