git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ARM: dma-mapping: provide dma_to_page()
[safe/jmp/linux-2.6]
/
arch
/
arm
/
mach-iop13xx
/
include
/
mach
/
memory.h
diff --git
a/arch/arm/mach-iop13xx/include/mach/memory.h
b/arch/arm/mach-iop13xx/include/mach/memory.h
index
42ae29b
..
25b1da9
100644
(file)
--- 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 */