aboutsummaryrefslogtreecommitdiff
path: root/lib/test_objagg.c
diff options
context:
space:
mode:
authorIlias Apalodimas <ilias.apalodimas@linaro.org>2019-02-13 02:55:45 +0100
committerDavid S. Miller <davem@davemloft.net>2019-02-13 22:00:16 -0800
commit1567b85eb8ad2d0fe8d77e50118e876df565d9c7 (patch)
treed7357f5cf9befd591a7fc17bf120a4210d040eac /lib/test_objagg.c
parentc25fff7171bebb76243ccc77f0f04aafa3db87be (diff)
downloadlinux-1567b85eb8ad2d0fe8d77e50118e876df565d9c7.tar.gz
linux-1567b85eb8ad2d0fe8d77e50118e876df565d9c7.tar.bz2
linux-1567b85eb8ad2d0fe8d77e50118e876df565d9c7.zip
net: page_pool: don't use page->private to store dma_addr_t
As pointed out by David Miller the current page_pool implementation stores dma_addr_t in page->private. This won't work on 32-bit platforms with 64-bit DMA addresses since the page->private is an unsigned long and the dma_addr_t a u64. A previous patch is adding dma_addr_t on struct page to accommodate this. This patch adapts the page_pool related functions to use the newly added struct for storing and retrieving DMA addresses from network drivers. Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org> Signed-off-by: Jesper Dangaard Brouer <brouer@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/test_objagg.c')
0 files changed, 0 insertions, 0 deletions