summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorPedro Demarchi Gomes <pedrodemargomes@gmail.com>2025-10-04 06:23:51 +0300
committerJoerg Roedel <joerg.roedel@amd.com>2025-10-27 14:46:57 +0300
commitdb340b02b27c7bd7e5e9a55c700058a7789d8935 (patch)
tree5b46aaf32b5e6a524c6fb716bffa0d88e23cbc8b /include/linux
parentdcb6fa37fd7bc9c3d2b066329b0d27dedf8becaa (diff)
downloadlinux-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