summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/dma-iommu.c
diff options
context:
space:
mode:
authorBecky Bruce <beckyb@kernel.crashing.org>2009-09-21 10:26:34 +0200
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2009-09-24 07:31:43 +0200
commit1cebd7a0f62804ca24f7b7b35e8105000b9e879a (patch)
tree57f04a5882d595cab859e2820d998bcde4660074 /arch/powerpc/kernel/dma-iommu.c
parentpowerpc/mm: Remove duplicated #include (diff)
downloadlinux-1cebd7a0f62804ca24f7b7b35e8105000b9e879a.tar.xz
linux-1cebd7a0f62804ca24f7b7b35e8105000b9e879a.zip
powerpc: Rename get_dma_direct_offset get_dma_offset
The former is no longer really accurate with the swiotlb case now a possibility. I also move it into dma-mapping.h - it no longer needs to be in dma.c, and there are about to be some more accessors that should all end up in the same place. A comment is added to indicate that this function is not used in configs where there is no simple dma offset, such as the iommu case. Signed-off-by: Becky Bruce <beckyb@kernel.crashing.org> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/kernel/dma-iommu.c')
0 files changed, 0 insertions, 0 deletions