Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 91016
b: refs/heads/master
c: d5df63f
h: refs/heads/master
v: v3
  • Loading branch information
Glauber Costa authored and Ingo Molnar committed Apr 19, 2008
1 parent 57e11b5 commit d81839e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 16 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: 459121c9ec1e6c5d701f6520f4170719ac008951
refs/heads/master: d5df63f48a67400a26eba15624aa883897a4f4d1
15 changes: 0 additions & 15 deletions trunk/arch/x86/kernel/pci-nommu_64.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,6 @@ nommu_map_single(struct device *hwdev, phys_addr_t paddr, size_t size,
return bus;
}

static void nommu_unmap_single(struct device *dev, dma_addr_t addr,size_t size,
int direction)
{
}

/* Map a set of buffers described by scatterlist in streaming
* mode for DMA. This is the scatter-gather version of the
Expand Down Expand Up @@ -71,20 +67,9 @@ static int nommu_map_sg(struct device *hwdev, struct scatterlist *sg,
return nents;
}

/* Unmap a set of streaming mode DMA translations.
* Again, cpu read rules concerning calls here are the same as for
* pci_unmap_single() above.
*/
static void nommu_unmap_sg(struct device *dev, struct scatterlist *sg,
int nents, int dir)
{
}

const struct dma_mapping_ops nommu_dma_ops = {
.map_single = nommu_map_single,
.unmap_single = nommu_unmap_single,
.map_sg = nommu_map_sg,
.unmap_sg = nommu_unmap_sg,
.is_phys = 1,
};

Expand Down

0 comments on commit d81839e

Please sign in to comment.