ARC: Don't memzero twice in dma_alloc_coherent for __GFP_ZERO
authorVineet Gupta <vgupta@synopsys.com>
Fri, 3 Jul 2015 05:10:43 +0000 (10:40 +0530)
committerVineet Gupta <vgupta@synopsys.com>
Mon, 6 Jul 2015 05:39:01 +0000 (11:09 +0530)
commitf718c2efff0b0460e5335607a1c6caf620847680
treee32b70ab3aced772db554ab870c6ba64fda33650
parent97709069214eb75312c14946803b9da4d3814203
ARC: Don't memzero twice in dma_alloc_coherent for __GFP_ZERO

alloc_pages_exact() get gfp flags and handle zero'ing already

And while it, fix the case where ioremap fails: return rightaway.

Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
arch/arc/mm/dma.c
This page took 0.025579 seconds and 5 git commands to generate.