summaryrefslogtreecommitdiffstats
path: root/include/asm-ia64/dma-mapping.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-ia64/dma-mapping.h')
-rw-r--r--include/asm-ia64/dma-mapping.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/include/asm-ia64/dma-mapping.h b/include/asm-ia64/dma-mapping.h
index 6347c984564..df67d40801d 100644
--- a/include/asm-ia64/dma-mapping.h
+++ b/include/asm-ia64/dma-mapping.h
@@ -48,12 +48,7 @@ dma_set_mask (struct device *dev, u64 mask)
return 0;
}
-static inline int
-dma_get_cache_alignment (void)
-{
- extern int ia64_max_cacheline_size;
- return ia64_max_cacheline_size;
-}
+extern int dma_get_cache_alignment(void);
static inline void
dma_cache_sync (void *vaddr, size_t size, enum dma_data_direction dir)