]> git.baikalelectronics.ru Git - kernel.git/commit
x86/amd-iommu: Add an index field to struct amd_iommu
authorJoerg Roedel <joerg.roedel@amd.com>
Fri, 20 Nov 2009 13:31:51 +0000 (14:31 +0100)
committerJoerg Roedel <joerg.roedel@amd.com>
Fri, 27 Nov 2009 10:45:49 +0000 (11:45 +0100)
commit0d7cf04f37d4f02bc1d046f9d555beaf01c25241
treedfeed02c76169a92fd04e12145c72f9a0cbaf6f7
parentbbb6091b45031510e2ca15aa97e7624b7e423aa7
x86/amd-iommu: Add an index field to struct amd_iommu

This patch adds an index field to struct amd_iommu which can
be used to lookup it up in an array. This index will be used
in struct protection_domain to keep track which protection
domain has devices behind which IOMMU.

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