ARC: dma: Use struct page based page allocator helpers
authorVineet Gupta <vgupta@synopsys.com>
Mon, 14 Mar 2016 09:33:59 +0000 (15:03 +0530)
committerVineet Gupta <vgupta@synopsys.com>
Sat, 19 Mar 2016 09:04:08 +0000 (14:34 +0530)
commitd98a15a5653bfae5bccc68a06a60ccf035b2c4cc
tree4e4c11c4c5bff82b61e44f6066ed8af6755add2b
parenta69fe1a2c9b2bd35046cb8f4e61337825cef9239
ARC: dma: Use struct page based page allocator helpers

vs. the ones which reutne void *, so that we can handle pages > 4GB
in subsequent patches

Also plug a potential page leak in case ioremap fails

Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
arch/arc/mm/dma.c