]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: dma-mapping: simplify page_to_dma() and __pfn_to_bus()
authorRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 31 Oct 2009 15:58:30 +0000 (15:58 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 23 Nov 2009 12:53:26 +0000 (12:53 +0000)
commit1c4a4f48a14861a567c8861355bc8252da3a003f
tree03285de0d6347b409f9691d32a36b61d7c1eac63
parent719301ff1c77b6da7b1b6f78a1e51af64a678619
ARM: dma-mapping: simplify page_to_dma() and __pfn_to_bus()

The non-highmem() and the __pfn_to_bus() based page_to_dma() both
compile to the same code, so its pointless having these two different
approaches.  Use the __pfn_to_bus() based version.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Tested-By: Jamie Iles <jamie@jamieiles.com>
Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm/include/asm/dma-mapping.h
arch/arm/include/asm/memory.h