diff options
author | Jean-Philippe Brucker <jean-philippe@linaro.org> | 2020-01-15 15:52:27 +0300 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2020-01-15 18:59:13 +0300 |
commit | 9bb9069cfba5ac9b867bebbd4c2b1fa9fa20936f (patch) | |
tree | ca583bc58b6be9f93f67b587efd1c0ae2bd6fd33 /scripts/gdb/linux/utils.py | |
parent | 79f7a5cb87baa229b321246b3f33af875d8a1ef7 (diff) | |
download | linux-9bb9069cfba5ac9b867bebbd4c2b1fa9fa20936f.tar.xz |
iommu/arm-smmu-v3: Drop __GFP_ZERO flag from DMA allocation
Since commit 518a2f1925c3 ("dma-mapping: zero memory returned from
dma_alloc_*"), dma_alloc_* always initializes memory to zero, so there
is no need to use dma_zalloc_* or pass the __GFP_ZERO flag anymore.
The flag was introduced by commit 04fa26c71be5 ("iommu/arm-smmu: Convert
DMA buffer allocations to the managed API"), since the managed API
didn't provide a dmam_zalloc_coherent() function.
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Jean-Philippe Brucker <jean-philippe@linaro.org>
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions