diff options
author | Joerg Roedel <joerg.roedel@amd.com> | 2010-01-22 17:44:35 +0100 |
---|---|---|
committer | Joerg Roedel <joerg.roedel@amd.com> | 2010-01-22 17:44:35 +0100 |
commit | f5325094379158e6b876ea0010c807bf7890ec8f (patch) | |
tree | 54a40356a9076bddaac4186c1b97e2dbb98a5863 /arch/x86/include/asm | |
parent | 2ca762790caf822f7b61430fbaffa3ae4219977f (diff) | |
download | kernel-crypto-f5325094379158e6b876ea0010c807bf7890ec8f.tar.gz kernel-crypto-f5325094379158e6b876ea0010c807bf7890ec8f.tar.xz kernel-crypto-f5325094379158e6b876ea0010c807bf7890ec8f.zip |
x86/amd-iommu: Fix IOMMU-API initialization for iommu=pt
This patch moves the initialization of the iommu-api out of
the dma-ops initialization code. This ensures that the
iommu-api is initialized even with iommu=pt.
Cc: stable@kernel.org
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Diffstat (limited to 'arch/x86/include/asm')
-rw-r--r-- | arch/x86/include/asm/amd_iommu_proto.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/include/asm/amd_iommu_proto.h b/arch/x86/include/asm/amd_iommu_proto.h index 4d817f9e6e7..d2544f1d705 100644 --- a/arch/x86/include/asm/amd_iommu_proto.h +++ b/arch/x86/include/asm/amd_iommu_proto.h @@ -31,6 +31,7 @@ extern void amd_iommu_reset_cmd_buffer(struct amd_iommu *iommu); extern int amd_iommu_init_devices(void); extern void amd_iommu_uninit_devices(void); extern void amd_iommu_init_notifier(void); +extern void amd_iommu_init_api(void); #ifndef CONFIG_AMD_IOMMU_STATS static inline void amd_iommu_stats_init(void) { } |