diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2009-10-31 16:07:16 +0000 |
---|---|---|
committer | Gary King <gking@nvidia.com> | 2010-04-05 14:11:15 -0700 |
commit | a63a6680a136df8f54ab62dc83ebe677220c4ff2 (patch) | |
tree | 0e56c41bc93b661d683ddaa966463b5b536b0818 /arch/arm/mach-iop13xx | |
parent | 7a272f5b1bd3582dea9e20f1ddff45d7ef485337 (diff) |
ARM: dma-mapping: provide dma_to_page()
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Tested-By: Jamie Iles <jamie@jamieiles.com>
Diffstat (limited to 'arch/arm/mach-iop13xx')
-rw-r--r-- | arch/arm/mach-iop13xx/include/mach/memory.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-iop13xx/include/mach/memory.h b/arch/arm/mach-iop13xx/include/mach/memory.h index 42ae29b288a1..25b1da9a5035 100644 --- a/arch/arm/mach-iop13xx/include/mach/memory.h +++ b/arch/arm/mach-iop13xx/include/mach/memory.h @@ -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 */ |