diff options
author | Christoph Hellwig <hch@lst.de> | 2018-01-10 01:40:57 +0300 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2018-01-15 11:35:13 +0300 |
commit | 95f183916d4b0bc1943684948ecdd2469f1aa978 (patch) | |
tree | 4f35e71033398e1ac96e90454a84f1ad2402492e /arch/arm | |
parent | c61e9637340e1d0672c6f0c0b11aa81d7262c49d (diff) | |
download | linux-95f183916d4b0bc1943684948ecdd2469f1aa978.tar.xz |
dma-direct: retry allocations using GFP_DMA for small masks
If an attempt to allocate memory succeeded, but isn't inside the
supported DMA mask, retry the allocation with GFP_DMA set as a
last resort.
Based on the x86 code, but an off by one error in what is now
dma_coherent_ok has been fixed vs the x86 code.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'arch/arm')
0 files changed, 0 insertions, 0 deletions