]> git.baikalelectronics.ru Git - kernel.git/commit
dma-direct: we might need GFP_DMA for 32-bit dma masks
authorChristoph Hellwig <hch@lst.de>
Wed, 13 Feb 2019 07:01:03 +0000 (08:01 +0100)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 18 Feb 2019 11:41:01 +0000 (22:41 +1100)
commita45eca79c18bc81d051244bdce82d50d19159979
tree24046692c1c2ad9ad828c12109cea99689014364
parented06377ea14ab28e0eee4f9896edeb7c15067811
dma-direct: we might need GFP_DMA for 32-bit dma masks

If there is no ZONE_DMA32 we might need GFP_DMA to be able to
allocate memory that satisfies a 32-bit DMA mask.

Reported-by: Christian Zigotzky <chzigotzky@xenosoft.de>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Tested-by: Christian Zigotzky <chzigotzky@xenosoft.de>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
kernel/dma/direct.c