x86/amd-iommu: Fix IOMMU-API initialization for iommu=pt
commitf5325094379158e6b876ea0010c807bf7890ec8f
authorJoerg Roedel <joerg.roedel@amd.com>
Fri, 22 Jan 2010 16:44:35 +0000 (22 17:44 +0100)
committerJoerg Roedel <joerg.roedel@amd.com>
Fri, 22 Jan 2010 16:44:35 +0000 (22 17:44 +0100)
tree54a40356a9076bddaac4186c1b97e2dbb98a5863
parent2ca762790caf822f7b61430fbaffa3ae4219977f
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>
arch/x86/include/asm/amd_iommu_proto.h
arch/x86/kernel/amd_iommu.c
arch/x86/kernel/amd_iommu_init.c