diff options
author | Jesper Dangaard Brouer <brouer@redhat.com> | 2019-02-13 04:55:40 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-02-14 09:00:16 +0300 |
commit | c25fff7171bebb76243ccc77f0f04aafa3db87be (patch) | |
tree | e48b4e7e38d7270f1774a3e30afd6d72d47871ba /net/core/page_pool.c | |
parent | fb14b096355b8c947a256e8e5259a4ebaca00866 (diff) | |
download | linux-c25fff7171bebb76243ccc77f0f04aafa3db87be.tar.xz |
mm: add dma_addr_t to struct page
The page_pool API is using page->private to store DMA addresses.
As pointed out by David Miller we can't use that on 32-bit architectures
with 64-bit DMA
This patch adds a new dma_addr_t struct to allow storing DMA addresses
Signed-off-by: Jesper Dangaard Brouer <brouer@redhat.com>
Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Acked-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core/page_pool.c')
0 files changed, 0 insertions, 0 deletions