AMD IOMMU: calculate IVHD size with a function
authorJoerg Roedel <joerg.roedel@amd.com>
Wed, 17 Sep 2008 15:14:27 +0000 (17:14 +0200)
committerIngo Molnar <mingo@elte.hu>
Fri, 19 Sep 2008 10:59:30 +0000 (12:59 +0200)
The current calculation of the IVHD entry size is hard to read. So move
this code to a seperate function to make it more clear what this
calculation does.

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

No differences found