[PATCH] ppc32: fix dma_map_page() to use page_to_bus()
authorMatt Porter <mporter@kernel.crashing.org>
Wed, 27 Jul 2005 18:44:12 +0000 (11:44 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 27 Jul 2005 23:25:56 +0000 (16:25 -0700)
commit9f6a3d083729c76ced92106c259f0e6536a2eaea
tree4b0b7722eecc19d0e61b5cabb7a1928293028617
parent15ce2982c6bc41ccd7f2cbca63e024aa9044c000
[PATCH] ppc32: fix dma_map_page() to use page_to_bus()

The following trivial patch changes dma_map_page() to use page_to_bus()
instead of open-coding it (incorrectly in some cases).

Signed-off-by: Eugene Surovegin <ebs@ebshome.net>
Signed-off-by: Matt Porter <mporter@kernel.crashing.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/asm-ppc/dma-mapping.h