diff options
| author | Pedro Demarchi Gomes <pedrodemargomes@gmail.com> | 2025-10-04 06:23:51 +0300 |
|---|---|---|
| committer | Joerg Roedel <joerg.roedel@amd.com> | 2025-10-27 14:46:57 +0300 |
| commit | db340b02b27c7bd7e5e9a55c700058a7789d8935 (patch) | |
| tree | 5b46aaf32b5e6a524c6fb716bffa0d88e23cbc8b /include/linux | |
| parent | dcb6fa37fd7bc9c3d2b066329b0d27dedf8becaa (diff) | |
| download | linux-db340b02b27c7bd7e5e9a55c700058a7789d8935.tar.xz | |
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>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
