Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 81349
b: refs/heads/master
c: 31d1b49
h: refs/heads/master
i:
  81347: 6f6348b
v: v3
  • Loading branch information
Michael Ellerman authored and Paul Mackerras committed Jan 25, 2008
1 parent a6a2e15 commit 631f5d3
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 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: 15c60cc472d4cc0e1bcde1081b0f75ef616e4c7e
refs/heads/master: 31d1b493237c8168cd2fc0f3d40b9ad5651e6f4c
7 changes: 4 additions & 3 deletions trunk/arch/powerpc/kernel/dma_64.c
Original file line number Diff line number Diff line change
Expand Up @@ -112,10 +112,11 @@ EXPORT_SYMBOL(dma_iommu_ops);
/*
* Generic direct DMA implementation
*
* This implementation supports a global offset that can be applied if
* the address at which memory is visible to devices is not 0.
* This implementation supports a per-device offset that can be applied if
* the address at which memory is visible to devices is not 0. Platform code
* can set archdata.dma_data to an unsigned long holding the offset. By
* default the offset is zero.
*/
unsigned long dma_direct_offset;

static unsigned long get_dma_direct_offset(struct device *dev)
{
Expand Down
2 changes: 0 additions & 2 deletions trunk/include/asm-powerpc/dma-mapping.h
Original file line number Diff line number Diff line change
Expand Up @@ -189,8 +189,6 @@ static inline void dma_unmap_sg(struct device *dev, struct scatterlist *sg,
extern struct dma_mapping_ops dma_iommu_ops;
extern struct dma_mapping_ops dma_direct_ops;

extern unsigned long dma_direct_offset;

#else /* CONFIG_PPC64 */

#define dma_supported(dev, mask) (1)
Expand Down

0 comments on commit 631f5d3

Please sign in to comment.