summaryrefslogtreecommitdiff
path: root/drivers/iommu/amd_iommu.c
diff options
context:
space:
mode:
authorJoerg Roedel <joerg.roedel@amd.com>2011-06-14 16:44:25 +0200
committerJoerg Roedel <joerg.roedel@amd.com>2011-06-21 10:49:31 +0200
commit403f81d8ee532c976d50a5e1051f14ec78ae8db3 (patch)
tree298415f1f6a1fd5d762c6549eec7bb68dc611770 /drivers/iommu/amd_iommu.c
parent68255b628776dfafa7f67ca3afd66bd4ba377307 (diff)
downloadlwn-403f81d8ee532c976d50a5e1051f14ec78ae8db3.tar.gz
lwn-403f81d8ee532c976d50a5e1051f14ec78ae8db3.zip
iommu/amd: Move missing parts to drivers/iommu
A few parts of the driver were missing in drivers/iommu. Move them there to have the complete driver in that directory. Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Diffstat (limited to 'drivers/iommu/amd_iommu.c')
-rw-r--r--drivers/iommu/amd_iommu.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/iommu/amd_iommu.c b/drivers/iommu/amd_iommu.c
index 7c3a95e54ec5..5aa12eaabd21 100644
--- a/drivers/iommu/amd_iommu.c
+++ b/drivers/iommu/amd_iommu.c
@@ -27,13 +27,14 @@
#include <linux/iommu-helper.h>
#include <linux/iommu.h>
#include <linux/delay.h>
+#include <linux/amd-iommu.h>
#include <asm/proto.h>
#include <asm/iommu.h>
#include <asm/gart.h>
#include <asm/dma.h>
-#include <asm/amd_iommu_proto.h>
-#include <asm/amd_iommu_types.h>
-#include <asm/amd_iommu.h>
+
+#include "amd_iommu_proto.h"
+#include "amd_iommu_types.h"
#define CMD_SET_TYPE(cmd, t) ((cmd)->data[1] |= ((t) << 28))