AMD IOMMU: simplify dma_mask_to_pages
authorJoerg Roedel <joerg.roedel@amd.com>
Wed, 17 Sep 2008 10:17:00 +0000 (12:17 +0200)
committerIngo Molnar <mingo@elte.hu>
Fri, 19 Sep 2008 10:59:26 +0000 (12:59 +0200)
The current calculation is very complicated. This patch replaces it with
a much simpler version.

Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>

No differences found