Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 5a5e02a6 authored by David Woodhouse's avatar David Woodhouse
Browse files

intel-iommu: Fix dma vs. mm page confusion with aligned_nrpages()



The aligned_nrpages() function rounds up to the next VM page, but
returns its result as a number of DMA pages.

Purely theoretical except on IA64, which doesn't boot with VT-d right
now anyway.

Signed-off-by: default avatarDavid Woodhouse <David.Woodhouse@intel.com>
parent 405d7ca5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment