]> asedeno.scripts.mit.edu Git - linux.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)
commitfbce251baa6e357441961c78796e5e9fad682675
tree24046692c1c2ad9ad828c12109cea99689014364
parent74ebe3e733b791f37415b3a1b917ee5035bc7364
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