dma-direct: lift gfp_t manipulation out of__dma_direct_alloc_pages
authorChristoph Hellwig <hch@lst.de>
Mon, 17 Aug 2020 15:14:28 +0000 (17:14 +0200)
committerChristoph Hellwig <hch@lst.de>
Fri, 11 Sep 2020 07:11:36 +0000 (09:11 +0200)
commit3773dfe6ea4d220dcccb03827fca94ec3d39bc17
tree0b60fc236d09506e8e5990ed7e5074e815aea6d8
parent2f5388a29be82a62529d146499e70987e856f6f7
dma-direct: lift gfp_t manipulation out of__dma_direct_alloc_pages

Move the detailed gfp_t setup from __dma_direct_alloc_pages into the
caller to clean things up a little.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Robin Murphy <robin.murphy@arm.com>
kernel/dma/direct.c