]> err.no Git - linux-2.6/blobdiff - include/asm-x86/dma-mapping.h
namespacecheck: automated fixes
[linux-2.6] / include / asm-x86 / dma-mapping.h
index 75807368051ac402892691fb085036a9ed1d8af1..a1a4dc7fe6ece75087cc33e33d3c60e2477cd586 100644 (file)
@@ -215,6 +215,14 @@ static inline int dma_get_cache_alignment(void)
 
 #ifdef CONFIG_X86_32
 #  define ARCH_HAS_DMA_DECLARE_COHERENT_MEMORY
+struct dma_coherent_mem {
+       void            *virt_base;
+       u32             device_base;
+       int             size;
+       int             flags;
+       unsigned long   *bitmap;
+};
+
 extern int
 dma_declare_coherent_memory(struct device *dev, dma_addr_t bus_addr,
                            dma_addr_t device_addr, size_t size, int flags);