diff options
| author | Jaewon <[email protected]> | 2016-05-25 13:29:50 +0900 |
|---|---|---|
| committer | Rob Herring <[email protected]> | 2016-06-03 07:24:10 -0500 |
| commit | 7d482813bb3518cbfeae1b987a5afd76a88c7eb3 (patch) | |
| tree | 85179fabe95d6cb5af46742b1d16b093b3d8130b /scripts/gcc-plugins/sancov_plugin.c | |
| parent | 3993546646baf1dab5f5c4f7d9bb58f2046fd1c1 (diff) | |
drivers: of: of_reserved_mem: fixup the CMA alignment not to affect dma-coherent
There was an alignment mismatch issue for CMA and it was fixed by
commit 1cc8e3458b51 ("drivers: of: of_reserved_mem: fixup the alignment with CMA setup").
However the way of the commit considers not only dma-contiguous(CMA) but also
dma-coherent which has no that requirement.
This patch checks more to distinguish dma-contiguous(CMA) from dma-coherent.
Signed-off-by: Jaewon Kim <[email protected]>
Acked-by: Jason Liu <[email protected]>
Acked-by: Marek Szyprowski <[email protected]>
[robh: remove erroneous opening bracket]
Signed-off-by: Rob Herring <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/sancov_plugin.c')
0 files changed, 0 insertions, 0 deletions