Loading
iommu/pages: use folio_nr_pages() instead of shift operation
folio_nr_pages() is a faster helper function to get the number of pages when NR_PAGES_IN_LARGE_FOLIO is enabled. Signed-off-by:Pedro Demarchi Gomes <pedrodemargomes@gmail.com> Reviewed-by:
Jason Gunthorpe <jgg@nvidia.com> Signed-off-by:
Joerg Roedel <joerg.roedel@amd.com>