diff options
author | Lu Baolu <baolu.lu@linux.intel.com> | 2022-07-12 03:08:54 +0300 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2022-07-15 11:21:35 +0300 |
commit | 8ac0b64b9735ae896d200dd952c22999742b4414 (patch) | |
tree | d0ebdce4a9eced8af9acffcf9dda8819c6c25d8b /mm/page_counter.c | |
parent | 98f7b0db4976690e47701b702ae314375101e327 (diff) | |
download | linux-8ac0b64b9735ae896d200dd952c22999742b4414.tar.xz |
iommu/vt-d: Use pci_get_domain_bus_and_slot() in pgtable_walk()
Use pci_get_domain_bus_and_slot() instead of searching the global list
to retrieve the pci device pointer. This also removes the global
device_domain_list as there isn't any consumer anymore.
Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
Link: https://lore.kernel.org/r/20220706025524.2904370-4-baolu.lu@linux.intel.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'mm/page_counter.c')
0 files changed, 0 insertions, 0 deletions