summaryrefslogtreecommitdiffstats
path: root/include/asm-powerpc
diff options
context:
space:
mode:
authorMichael Ellerman <michael@ellerman.id.au>2008-01-21 16:42:48 +1100
committerPaul Mackerras <paulus@samba.org>2008-01-25 22:52:54 +1100
commit31d1b493237c8168cd2fc0f3d40b9ad5651e6f4c (patch)
tree0fdc33845d84318e38adb47601b7b1bffd3d8518 /include/asm-powerpc
parent15c60cc472d4cc0e1bcde1081b0f75ef616e4c7e (diff)
downloadlinux-31d1b493237c8168cd2fc0f3d40b9ad5651e6f4c.tar.gz
linux-31d1b493237c8168cd2fc0f3d40b9ad5651e6f4c.tar.bz2
linux-31d1b493237c8168cd2fc0f3d40b9ad5651e6f4c.zip
[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 'include/asm-powerpc')
-rw-r--r--include/asm-powerpc/dma-mapping.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/asm-powerpc/dma-mapping.h b/include/asm-powerpc/dma-mapping.h
index e974876e18d2..5eea6dbc0aa2 100644
--- a/include/asm-powerpc/dma-mapping.h
+++ b/include/asm-powerpc/dma-mapping.h
@@ -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)