diff options
author | Joerg Roedel <joerg.roedel@amd.com> | 2011-06-14 10:44:25 -0400 |
---|---|---|
committer | Joerg Roedel <joerg.roedel@amd.com> | 2011-06-21 04:49:31 -0400 |
commit | 403f81d8ee532c976d50a5e1051f14ec78ae8db3 (patch) | |
tree | 298415f1f6a1fd5d762c6549eec7bb68dc611770 /drivers/iommu/amd_iommu.c | |
parent | 68255b628776dfafa7f67ca3afd66bd4ba377307 (diff) |
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.c | 7 |
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 @@ | |||
27 | #include <linux/iommu-helper.h> | 27 | #include <linux/iommu-helper.h> |
28 | #include <linux/iommu.h> | 28 | #include <linux/iommu.h> |
29 | #include <linux/delay.h> | 29 | #include <linux/delay.h> |
30 | #include <linux/amd-iommu.h> | ||
30 | #include <asm/proto.h> | 31 | #include <asm/proto.h> |
31 | #include <asm/iommu.h> | 32 | #include <asm/iommu.h> |
32 | #include <asm/gart.h> | 33 | #include <asm/gart.h> |
33 | #include <asm/dma.h> | 34 | #include <asm/dma.h> |
34 | #include <asm/amd_iommu_proto.h> | 35 | |
35 | #include <asm/amd_iommu_types.h> | 36 | #include "amd_iommu_proto.h" |
36 | #include <asm/amd_iommu.h> | 37 | #include "amd_iommu_types.h" |
37 | 38 | ||
38 | #define CMD_SET_TYPE(cmd, t) ((cmd)->data[1] |= ((t) << 28)) | 39 | #define CMD_SET_TYPE(cmd, t) ((cmd)->data[1] |= ((t) << 28)) |
39 | 40 | ||