AMD IOMMU: some set_device_domain cleanups
authorJoerg Roedel <joerg.roedel@amd.com>
Thu, 11 Sep 2008 08:38:32 +0000 (10:38 +0200)
committerIngo Molnar <mingo@elte.hu>
Fri, 19 Sep 2008 10:59:22 +0000 (12:59 +0200)
commit38ddf41b198e21d3ecbe5752e875857b7ce7589e
tree5c20869c5f66a92087627853e742c2af5176b7c6
parentbd60b735c658e6e8c656e89771d281bcfcf51279
AMD IOMMU: some set_device_domain cleanups

Remove some magic numbers and split the pte_root using standard
functions.

Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/amd_iommu.c
include/asm-x86/amd_iommu_types.h