Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 229306
b: refs/heads/master
c: 34c4d01
h: refs/heads/master
v: v3
  • Loading branch information
Nishanth Aravamudan authored and Benjamin Herrenschmidt committed Nov 29, 2010
1 parent 8ade5a1 commit 5627233
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 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: 741d204cee6d62bbe0f74ab57ef31702b7d90f62
refs/heads/master: 34c4d012554ed8c99b3fb25baea9bab3507e9f76
9 changes: 1 addition & 8 deletions trunk/arch/powerpc/sysdev/dart_iommu.c
Original file line number Diff line number Diff line change
Expand Up @@ -312,17 +312,10 @@ static void pci_dma_dev_setup_dart(struct pci_dev *dev)

static void pci_dma_bus_setup_dart(struct pci_bus *bus)
{
struct device_node *dn;

if (!iommu_table_dart_inited) {
iommu_table_dart_inited = 1;
iommu_table_dart_setup();
}

dn = pci_bus_to_OF_node(bus);

if (dn)
PCI_DN(dn)->iommu_table = &iommu_table_dart;
}

static bool dart_device_on_pcie(struct device *dev)
Expand Down Expand Up @@ -373,7 +366,7 @@ void __init iommu_init_early_dart(void)
if (dn == NULL) {
dn = of_find_compatible_node(NULL, "dart", "u4-dart");
if (dn == NULL)
goto bail;
return; /* use default direct_dma_ops */
dart_is_u4 = 1;
}

Expand Down

0 comments on commit 5627233

Please sign in to comment.