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)
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>

No differences found