x86/amd-iommu: Add core functions for pd allocation/freeing
authorJoerg Roedel <joerg.roedel@amd.com>
Wed, 26 Aug 2009 14:52:40 +0000 (16:52 +0200)
committerJoerg Roedel <joerg.roedel@amd.com>
Thu, 3 Sep 2009 14:15:34 +0000 (16:15 +0200)
This patch factors some code of protection domain allocation
into seperate functions. This way the logic can be used to
allocate the passthrough domain later. As a side effect this
patch fixes an unlikely domain id leakage bug.

Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>

No differences found