diff options
| -rw-r--r-- | arch/x86/kernel/amd_iommu.c | 2 | ||||
| -rw-r--r-- | arch/x86/kernel/amd_iommu_init.c | 2 | ||||
| -rw-r--r-- | arch/x86/kernel/aperture_64.c | 1 | ||||
| -rw-r--r-- | arch/x86/kernel/early-quirks.c | 5 | ||||
| -rw-r--r-- | arch/x86/kernel/pci-calgary_64.c | 2 | ||||
| -rw-r--r-- | arch/x86/kernel/pci-dma.c | 2 | ||||
| -rw-r--r-- | arch/x86/kernel/pci-gart_64.c | 1 | ||||
| -rw-r--r-- | arch/x86/kernel/pci-nommu.c | 2 | ||||
| -rw-r--r-- | arch/x86/kernel/pci-swiotlb_64.c | 2 | ||||
| -rw-r--r-- | arch/x86/kernel/setup.c | 2 | ||||
| -rw-r--r-- | drivers/pci/intel-iommu.c | 2 | ||||
| -rw-r--r-- | include/asm-x86/gart.h | 1 |
12 files changed, 11 insertions, 13 deletions
diff --git a/arch/x86/kernel/amd_iommu.c b/arch/x86/kernel/amd_iommu.c index f2766d84c7a0..cf2f74bcde53 100644 --- a/arch/x86/kernel/amd_iommu.c +++ b/arch/x86/kernel/amd_iommu.c | |||
| @@ -23,7 +23,7 @@ | |||
| 23 | #include <linux/scatterlist.h> | 23 | #include <linux/scatterlist.h> |
| 24 | #include <linux/iommu-helper.h> | 24 | #include <linux/iommu-helper.h> |
| 25 | #include <asm/proto.h> | 25 | #include <asm/proto.h> |
| 26 | #include <asm/gart.h> | 26 | #include <asm/iommu.h> |
| 27 | #include <asm/amd_iommu_types.h> | 27 | #include <asm/amd_iommu_types.h> |
| 28 | #include <asm/amd_iommu.h> | 28 | #include <asm/amd_iommu.h> |
| 29 | 29 | ||
diff --git a/arch/x86/kernel/amd_iommu_init.c b/arch/x86/kernel/amd_iommu_init.c index 2a13e430437d..66438284c699 100644 --- a/arch/x86/kernel/amd_iommu_init.c +++ b/arch/x86/kernel/amd_iommu_init.c | |||
| @@ -25,7 +25,7 @@ | |||
| 25 | #include <asm/pci-direct.h> | 25 | #include <asm/pci-direct.h> |
| 26 | #include <asm/amd_iommu_types.h> | 26 | #include <asm/amd_iommu_types.h> |
| 27 | #include <asm/amd_iommu.h> | 27 | #include <asm/amd_iommu.h> |
| 28 | #include <asm/gart.h> | 28 | #include <asm/iommu.h> |
| 29 | 29 | ||
| 30 | /* | 30 | /* |
| 31 | * definitions for the ACPI scanning code | 31 | * definitions for the ACPI scanning code |
diff --git a/arch/x86/kernel/aperture_64.c b/arch/x86/kernel/aperture_64.c index 9f907806c1a5..44e21826db11 100644 --- a/arch/x86/kernel/aperture_64.c +++ b/arch/x86/kernel/aperture_64.c | |||
| @@ -21,6 +21,7 @@ | |||
| 21 | #include <linux/suspend.h> | 21 | #include <linux/suspend.h> |
| 22 | #include <asm/e820.h> | 22 | #include <asm/e820.h> |
| 23 | #include <asm/io.h> | 23 | #include <asm/io.h> |
| 24 | #include <asm/iommu.h> | ||
| 24 | #include <asm/gart.h> | 25 | #include <asm/gart.h> |
| 25 | #include <asm/pci-direct.h> | 26 | #include <asm/pci-direct.h> |
| 26 | #include <asm/dma.h> | 27 | #include <asm/dma.h> |
diff --git a/arch/x86/kernel/early-quirks.c b/arch/x86/kernel/early-quirks.c index a4665f37cfc5..510b8e367732 100644 --- a/arch/x86/kernel/early-quirks.c +++ b/arch/x86/kernel/early-quirks.c | |||
| @@ -16,10 +16,7 @@ | |||
| 16 | #include <asm/dma.h> | 16 | #include <asm/dma.h> |
| 17 | #include <asm/io_apic.h> | 17 | #include <asm/io_apic.h> |
| 18 | #include <asm/apic.h> | 18 | #include <asm/apic.h> |
| 19 | 19 | #include <asm/iommu.h> | |
| 20 | #ifdef CONFIG_GART_IOMMU | ||
| 21 | #include <asm/gart.h> | ||
| 22 | #endif | ||
| 23 | 20 | ||
| 24 | static void __init fix_hypertransport_config(int num, int slot, int func) | 21 | static void __init fix_hypertransport_config(int num, int slot, int func) |
| 25 | { | 22 | { |
diff --git a/arch/x86/kernel/pci-calgary_64.c b/arch/x86/kernel/pci-calgary_64.c index 6959b5c45df4..151f2d171f7c 100644 --- a/arch/x86/kernel/pci-calgary_64.c +++ b/arch/x86/kernel/pci-calgary_64.c | |||
| @@ -36,7 +36,7 @@ | |||
| 36 | #include <linux/delay.h> | 36 | #include <linux/delay.h> |
| 37 | #include <linux/scatterlist.h> | 37 | #include <linux/scatterlist.h> |
| 38 | #include <linux/iommu-helper.h> | 38 | #include <linux/iommu-helper.h> |
| 39 | #include <asm/gart.h> | 39 | #include <asm/iommu.h> |
| 40 | #include <asm/calgary.h> | 40 | #include <asm/calgary.h> |
| 41 | #include <asm/tce.h> | 41 | #include <asm/tce.h> |
| 42 | #include <asm/pci-direct.h> | 42 | #include <asm/pci-direct.h> |
diff --git a/arch/x86/kernel/pci-dma.c b/arch/x86/kernel/pci-dma.c index 8467ec2320f1..f581a4b63b43 100644 --- a/arch/x86/kernel/pci-dma.c +++ b/arch/x86/kernel/pci-dma.c | |||
| @@ -5,7 +5,7 @@ | |||
| 5 | 5 | ||
| 6 | #include <asm/proto.h> | 6 | #include <asm/proto.h> |
| 7 | #include <asm/dma.h> | 7 | #include <asm/dma.h> |
| 8 | #include <asm/gart.h> | 8 | #include <asm/iommu.h> |
| 9 | #include <asm/calgary.h> | 9 | #include <asm/calgary.h> |
| 10 | #include <asm/amd_iommu.h> | 10 | #include <asm/amd_iommu.h> |
| 11 | 11 | ||
diff --git a/arch/x86/kernel/pci-gart_64.c b/arch/x86/kernel/pci-gart_64.c index d0d18db5d2a4..949ca985deb0 100644 --- a/arch/x86/kernel/pci-gart_64.c +++ b/arch/x86/kernel/pci-gart_64.c | |||
| @@ -32,6 +32,7 @@ | |||
| 32 | #include <asm/mtrr.h> | 32 | #include <asm/mtrr.h> |
| 33 | #include <asm/pgtable.h> | 33 | #include <asm/pgtable.h> |
| 34 | #include <asm/proto.h> | 34 | #include <asm/proto.h> |
| 35 | #include <asm/iommu.h> | ||
| 35 | #include <asm/gart.h> | 36 | #include <asm/gart.h> |
| 36 | #include <asm/cacheflush.h> | 37 | #include <asm/cacheflush.h> |
| 37 | #include <asm/swiotlb.h> | 38 | #include <asm/swiotlb.h> |
diff --git a/arch/x86/kernel/pci-nommu.c b/arch/x86/kernel/pci-nommu.c index aec43d56f49c..792b9179eff3 100644 --- a/arch/x86/kernel/pci-nommu.c +++ b/arch/x86/kernel/pci-nommu.c | |||
| @@ -7,7 +7,7 @@ | |||
| 7 | #include <linux/dma-mapping.h> | 7 | #include <linux/dma-mapping.h> |
| 8 | #include <linux/scatterlist.h> | 8 | #include <linux/scatterlist.h> |
| 9 | 9 | ||
| 10 | #include <asm/gart.h> | 10 | #include <asm/iommu.h> |
| 11 | #include <asm/processor.h> | 11 | #include <asm/processor.h> |
| 12 | #include <asm/dma.h> | 12 | #include <asm/dma.h> |
| 13 | 13 | ||
diff --git a/arch/x86/kernel/pci-swiotlb_64.c b/arch/x86/kernel/pci-swiotlb_64.c index 82299cd1d04d..20df839b9c20 100644 --- a/arch/x86/kernel/pci-swiotlb_64.c +++ b/arch/x86/kernel/pci-swiotlb_64.c | |||
| @@ -5,7 +5,7 @@ | |||
| 5 | #include <linux/module.h> | 5 | #include <linux/module.h> |
| 6 | #include <linux/dma-mapping.h> | 6 | #include <linux/dma-mapping.h> |
| 7 | 7 | ||
| 8 | #include <asm/gart.h> | 8 | #include <asm/iommu.h> |
| 9 | #include <asm/swiotlb.h> | 9 | #include <asm/swiotlb.h> |
| 10 | #include <asm/dma.h> | 10 | #include <asm/dma.h> |
| 11 | 11 | ||
diff --git a/arch/x86/kernel/setup.c b/arch/x86/kernel/setup.c index 86fc2d624270..e5d208934bfc 100644 --- a/arch/x86/kernel/setup.c +++ b/arch/x86/kernel/setup.c | |||
| @@ -96,7 +96,7 @@ | |||
| 96 | #include <asm/smp.h> | 96 | #include <asm/smp.h> |
| 97 | #include <asm/desc.h> | 97 | #include <asm/desc.h> |
| 98 | #include <asm/dma.h> | 98 | #include <asm/dma.h> |
| 99 | #include <asm/gart.h> | 99 | #include <asm/iommu.h> |
| 100 | #include <asm/mmu_context.h> | 100 | #include <asm/mmu_context.h> |
| 101 | #include <asm/proto.h> | 101 | #include <asm/proto.h> |
| 102 | 102 | ||
diff --git a/drivers/pci/intel-iommu.c b/drivers/pci/intel-iommu.c index bb0642318a95..7868065f6f2d 100644 --- a/drivers/pci/intel-iommu.c +++ b/drivers/pci/intel-iommu.c | |||
| @@ -37,7 +37,7 @@ | |||
| 37 | #include "intel-iommu.h" | 37 | #include "intel-iommu.h" |
| 38 | #include <asm/proto.h> /* force_iommu in this header in x86-64*/ | 38 | #include <asm/proto.h> /* force_iommu in this header in x86-64*/ |
| 39 | #include <asm/cacheflush.h> | 39 | #include <asm/cacheflush.h> |
| 40 | #include <asm/gart.h> | 40 | #include <asm/iommu.h> |
| 41 | #include "pci.h" | 41 | #include "pci.h" |
| 42 | 42 | ||
| 43 | #define IS_GFX_DEVICE(pdev) ((pdev->class >> 16) == PCI_BASE_CLASS_DISPLAY) | 43 | #define IS_GFX_DEVICE(pdev) ((pdev->class >> 16) == PCI_BASE_CLASS_DISPLAY) |
diff --git a/include/asm-x86/gart.h b/include/asm-x86/gart.h index 33b9aeeb35a2..3f62a83887f3 100644 --- a/include/asm-x86/gart.h +++ b/include/asm-x86/gart.h | |||
| @@ -2,7 +2,6 @@ | |||
| 2 | #define _ASM_X8664_GART_H 1 | 2 | #define _ASM_X8664_GART_H 1 |
| 3 | 3 | ||
| 4 | #include <asm/e820.h> | 4 | #include <asm/e820.h> |
| 5 | #include <asm/iommu.h> | ||
| 6 | 5 | ||
| 7 | extern void set_up_gart_resume(u32, u32); | 6 | extern void set_up_gart_resume(u32, u32); |
| 8 | 7 | ||
