intel-iommu: Fix dma vs. mm page confusion with aligned_nrpages()
authorDavid Woodhouse <David.Woodhouse@intel.com>
Sat, 4 Jul 2009 08:35:44 +0000 (09:35 +0100)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Sat, 4 Jul 2009 08:35:52 +0000 (09:35 +0100)
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: David Woodhouse <David.Woodhouse@intel.com>

No differences found