Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 229307
b: refs/heads/master
c: a8daac8
h: refs/heads/master
i:
  229305: 8ade5a1
  229303: 3bd98fa
v: v3
  • Loading branch information
Nishanth Aravamudan authored and Benjamin Herrenschmidt committed Nov 29, 2010
1 parent 5627233 commit c0d3cd7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 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: 34c4d012554ed8c99b3fb25baea9bab3507e9f76
refs/heads/master: a8daac8a517dacfea951424f67c1f07e1f76b2ad
9 changes: 2 additions & 7 deletions trunk/arch/powerpc/platforms/pseries/iommu.c
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ static int tce_build_pSeriesLP(struct iommu_table *tbl, long tcenum,
return ret;
}

static DEFINE_PER_CPU(u64 *, tce_page) = NULL;
static DEFINE_PER_CPU(u64 *, tce_page);

static int tce_buildmulti_pSeriesLP(struct iommu_table *tbl, long tcenum,
long npages, unsigned long uaddr,
Expand Down Expand Up @@ -589,13 +589,8 @@ static struct notifier_block iommu_reconfig_nb = {
/* These are called very early. */
void iommu_init_early_pSeries(void)
{
if (of_chosen && of_get_property(of_chosen, "linux,iommu-off", NULL)) {
/* Direct I/O, IOMMU off */
ppc_md.pci_dma_dev_setup = NULL;
ppc_md.pci_dma_bus_setup = NULL;
set_pci_dma_ops(&dma_direct_ops);
if (of_chosen && of_get_property(of_chosen, "linux,iommu-off", NULL))
return;
}

if (firmware_has_feature(FW_FEATURE_LPAR)) {
if (firmware_has_feature(FW_FEATURE_MULTITCE)) {
Expand Down

0 comments on commit c0d3cd7

Please sign in to comment.