]> git.karo-electronics.de Git - linux-beck.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)
commitbb52777ec4d736c2d7c4f037b32d4eeeb172ed89
treedfeed02c76169a92fd04e12145c72f9a0cbaf6f7
parentbf3118c1276d27fe9e84aa42382da25ee0750777
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