diff options
author | Michael Ellerman <michael@ellerman.id.au> | 2008-01-21 00:42:48 -0500 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2008-01-25 06:52:54 -0500 |
commit | 31d1b493237c8168cd2fc0f3d40b9ad5651e6f4c (patch) | |
tree | 0fdc33845d84318e38adb47601b7b1bffd3d8518 /arch | |
parent | 15c60cc472d4cc0e1bcde1081b0f75ef616e4c7e (diff) |
[POWERPC] Remove the global dma_direct_offset
We no longer need the global dma_direct_offset, update the comment to
reflect the new reality.
Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/powerpc/kernel/dma_64.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/arch/powerpc/kernel/dma_64.c b/arch/powerpc/kernel/dma_64.c index a2d076d005c0..72fdc06df51e 100644 --- a/arch/powerpc/kernel/dma_64.c +++ b/arch/powerpc/kernel/dma_64.c | |||
@@ -112,10 +112,11 @@ EXPORT_SYMBOL(dma_iommu_ops); | |||
112 | /* | 112 | /* |
113 | * Generic direct DMA implementation | 113 | * Generic direct DMA implementation |
114 | * | 114 | * |
115 | * This implementation supports a global offset that can be applied if | 115 | * This implementation supports a per-device offset that can be applied if |
116 | * the address at which memory is visible to devices is not 0. | 116 | * the address at which memory is visible to devices is not 0. Platform code |
117 | * can set archdata.dma_data to an unsigned long holding the offset. By | ||
118 | * default the offset is zero. | ||
117 | */ | 119 | */ |
118 | unsigned long dma_direct_offset; | ||
119 | 120 | ||
120 | static unsigned long get_dma_direct_offset(struct device *dev) | 121 | static unsigned long get_dma_direct_offset(struct device *dev) |
121 | { | 122 | { |