x86/amd-iommu: Use dev->arch->iommu to store iommu related information
authorJoerg Roedel <joerg.roedel@amd.com>
Mon, 23 Nov 2009 14:26:46 +0000 (15:26 +0100)
committerJoerg Roedel <joerg.roedel@amd.com>
Fri, 27 Nov 2009 13:20:32 +0000 (14:20 +0100)
commit657cbb6b6cba0f9c98c5299e0c803b2c0e67ea0a
tree529b149cbb5d1d80ea0b7cd37e0a638441aaf69e
parent8793abeb783c12cc37f92f6133fd6468152b98df
x86/amd-iommu: Use dev->arch->iommu to store iommu related information

This patch changes IOMMU code to use dev->archdata->iommu to
store information about the alias device and the domain the
device is attached to.
This allows the driver to get rid of the amd_iommu_pd_table
in the future.

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