ARM: dma-mapping: provide dma_to_page()
[safe/jmp/linux-2.6] / arch / arm / mach-iop13xx / include / mach / memory.h
index 42ae29b..25b1da9 100644 (file)
@@ -64,6 +64,8 @@ static inline unsigned long __lbus_to_virt(dma_addr_t x)
                (dma_addr_t)page_to_phys(page);                         \
        })
 
+#define __arch_dma_to_page(dev, addr)  phys_to_page(addr)
+
 #endif /* CONFIG_ARCH_IOP13XX */
 #endif /* !ASSEMBLY */