dma-mapping: use unsigned long for dma_attrs
[linux-2.6-block.git] / arch / x86 / include / asm / swiotlb.h
index ab05d73e2bb7b24eba0792e8c1dfbb6f22505c65..d2f69b9ff73273588f20bb86d09ed3ee63f2e033 100644 (file)
@@ -31,9 +31,9 @@ static inline void dma_mark_clean(void *addr, size_t size) {}
 
 extern void *x86_swiotlb_alloc_coherent(struct device *hwdev, size_t size,
                                        dma_addr_t *dma_handle, gfp_t flags,
-                                       struct dma_attrs *attrs);
+                                       unsigned long attrs);
 extern void x86_swiotlb_free_coherent(struct device *dev, size_t size,
                                        void *vaddr, dma_addr_t dma_addr,
-                                       struct dma_attrs *attrs);
+                                       unsigned long attrs);
 
 #endif /* _ASM_X86_SWIOTLB_H */