ARM: dma-mapping: Get pages if the cpu_addr is out of atomic_pool
commit836bfa0d2930b7ec236aa488f01678c92eb5f0de
authorYoungJun Cho <yj44.cho@samsung.com>
Mon, 17 Jun 2013 04:18:52 +0000 (17 13:18 +0900)
committerMarek Szyprowski <m.szyprowski@samsung.com>
Fri, 28 Jun 2013 13:14:27 +0000 (28 15:14 +0200)
treee46c0978e8f2570eee94c39cbca0fe333a55d4ce
parent9e895ace5d82df8929b16f58e9f515f6d54ab82d
ARM: dma-mapping: Get pages if the cpu_addr is out of atomic_pool

In __iommu_get_pages(), the cpu_addr is checked wheather in
atomic_pool range or not. So if the cpu_addr is in atomic_pool
range, it does not need to check twice.

Signed-off-by: YoungJun Cho <yj44.cho@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
arch/arm/mm/dma-mapping.c