PCI/P2PDMA: Introduce private pagemap structure
authorLogan Gunthorpe <logang@deltatee.com>
Mon, 12 Aug 2019 17:30:35 +0000 (11:30 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Fri, 16 Aug 2019 13:38:52 +0000 (08:38 -0500)
commita6e6fe6549f609f5c00c91e988da9d25f8ae8604
tree691a7281b2804c2a67700cf99418fe2bdb56f238
parent5f9e832c137075045d15cd6899ab0505cfb2ca4b
PCI/P2PDMA: Introduce private pagemap structure

Move the PCI bus offset from the generic dev_pagemap structure to a
specific pci_p2pdma_pagemap structure.

This structure will grow in subsequent patches.

Link: https://lore.kernel.org/r/20190730163545.4915-2-logang@deltatee.com
Link: https://lore.kernel.org/r/20190812173048.9186-2-logang@deltatee.com
Signed-off-by: Logan Gunthorpe <logang@deltatee.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
drivers/pci/p2pdma.c
include/linux/memremap.h