summaryrefslogtreecommitdiffstats
path: root/arch/ia64/include/asm/dma-mapping.h
diff options
context:
space:
mode:
authorJohn Keller <jpk@sgi.com>2008-11-24 16:47:17 -0600
committerTony Luck <tony.luck@intel.com>2009-01-15 10:42:16 -0800
commit175add1981e53d22caba8f42d5f924a4de507b6c (patch)
tree71ddbf7f46d18222f4f5867d7261b335677c6af6 /arch/ia64/include/asm/dma-mapping.h
parenta6a3bb5c88d706c5efe0c86b3b669ac9ee012b3f (diff)
downloadblackbird-op-linux-175add1981e53d22caba8f42d5f924a4de507b6c.tar.gz
blackbird-op-linux-175add1981e53d22caba8f42d5f924a4de507b6c.zip
[IA64] SN specific version of dma_get_required_mask()
Create a platform specific version of dma_get_required_mask() for ia64 SN Altix. All SN Altix platforms support 64 bit DMA addressing regardless of the size of system memory. Create an ia64 machvec for dma_get_required_mask, with the SN version unconditionally returning DMA_64BIT_MASK. Signed-off-by: John Keller <jpk@sgi.com> Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'arch/ia64/include/asm/dma-mapping.h')
-rw-r--r--arch/ia64/include/asm/dma-mapping.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/ia64/include/asm/dma-mapping.h b/arch/ia64/include/asm/dma-mapping.h
index bbab7e2b0fc9..1f912d927585 100644
--- a/arch/ia64/include/asm/dma-mapping.h
+++ b/arch/ia64/include/asm/dma-mapping.h
@@ -9,6 +9,8 @@
#include <linux/scatterlist.h>
#include <asm/swiotlb.h>
+#define ARCH_HAS_DMA_GET_REQUIRED_MASK
+
struct dma_mapping_ops {
int (*mapping_error)(struct device *dev,
dma_addr_t dma_addr);
OpenPOWER on IntegriCloud