x86: rename iommu.h to gart.h
PATCH 1/1 x86: rename iommu.h to gart.h
This patch renames the include file asm-x86/iommu.h to asm-x86/gart.h to make clear to which IOMMU implementation it belongs. The patch also adds "GART" to the Kconfig line.
---
arch/x86/kernel/aperture_64.c | 2 +-
arch/x86/kernel/early-quirks_64.c | 2 +-
arch/x86/kernel/pci-calgary_64.c | 2 +-
arch/x86/kernel/pci-dma_64.c | 2 +-
arch/x86/kernel/pci-gart_64.c | 2 +-
arch/x86/kernel/pci-nommu_64.c | 2 +-
arch/x86/kernel/pci-swiotlb_64.c | 2 +-
arch/x86/kernel/reboot_64.c | 2 +-
arch/x86_64/Kconfig | 2 +-
include/asm-x86/{iommu.h => gart.h} | 0
10 files changed, 9 insertions(+), 9 deletions(-)
rename include/asm-x86/{iommu.h => gart.h} (100%)arch/x86/kernel/aperture_64.c +1 -1
@@ -20,7 +20,7 @@#include <linux/ioport.h> #include <asm/e820.h> #include <asm/io.h> -#include <asm/iommu.h> +#include <asm/gart.h> #include <asm/pci-direct.h> #include <asm/dma.h> #include <asm/k8.h>
arch/x86/kernel/early-quirks_64.c +1 -1
@@ -14,7 +14,7 @@#include <linux/pci_ids.h> #include <asm/pci-direct.h> #include <asm/proto.h> -#include <asm/iommu.h> +#include <asm/gart.h> #include <asm/dma.h> static void __init via_bugs (void )
arch/x86/kernel/pci-calgary_64.c +1 -1
@@ -36,7 +36,7 @@#include <linux/pci.h> #include <linux/delay.h> #include <linux/scatterlist.h> -#include <asm/iommu.h> +#include <asm/gart.h> #include <asm/calgary.h> #include <asm/tce.h> #include <asm/pci-direct.h>
arch/x86/kernel/pci-dma_64.c +1 -1
@@ -8,7 +8,7 @@#include <linux/pci.h> #include <linux/module.h> #include <asm/io.h> -#include <asm/iommu.h> +#include <asm/gart.h> #include <asm/calgary.h> int iommu_merge__read_mostly =0 ;
arch/x86/kernel/pci-gart_64.c +1 -1
@@ -30,7 +30,7 @@#include <asm/mtrr.h> #include <asm/pgtable.h> #include <asm/proto.h> -#include <asm/iommu.h> +#include <asm/gart.h> #include <asm/cacheflush.h> #include <asm/swiotlb.h> #include <asm/dma.h>
arch/x86/kernel/pci-nommu_64.c +1 -1
@@ -7,7 +7,7 @@#include <linux/dma-mapping.h> #include <linux/scatterlist.h> -#include <asm/iommu.h> +#include <asm/gart.h> #include <asm/processor.h> #include <asm/dma.h>
arch/x86/kernel/pci-swiotlb_64.c +1 -1
@@ -5,7 +5,7 @@#include <linux/module.h> #include <linux/dma-mapping.h> -#include <asm/iommu.h> +#include <asm/gart.h> #include <asm/swiotlb.h> #include <asm/dma.h>
arch/x86/kernel/reboot_64.c +1 -1
@@ -16,7 +16,7 @@#include <asm/pgtable.h> #include <asm/tlbflush.h> #include <asm/apic.h> -#include <asm/iommu.h> +#include <asm/gart.h> /* * Power off function, if any
arch/x86_64/Kconfig +1 -1
@@ -480,7 +480,7 @@ config HPET_EMULATE_RTC # Mark as embedded because too many people got it wrong. # The code disables itself when not needed. config IOMMU - bool "IOMMU support" if EMBEDDED + bool "GART IOMMU support" if EMBEDDED default y select SWIOTLB select AGP
include/asm-x86/gart.h renamed from include/asm-x86/iommu.h +0 -0
Signature · 1 line
1.5.2.5
Quoted 3 lines · Joerg Roedel
This patch renames the include file
asm-x86/iommu.htoasm-x86/gart.hto make clear to which IOMMU implementation it belongs. The patch also adds "GART" to theKconfigline.
Long overdue IMHO. How about also renaming the config option to CONFIG_GART_IOMMU while you're at it?
Cheers,
Muli
Signature · 4 lines
SYSTOR 2007 --- 1st Annual Haifa Systems and Storage Conference 2007 http://www.haifa.il.ibm.com/Workshops/systor2007/ Virtualization workshop: Oct 29th, 2007 | Storage workshop: Oct 30th, 2007
Quoted 8 lines · Muli Ben-Yehuda
Quoted 3 lines · Joerg Roedel
This patch renames the include file
asm-x86/iommu.htoasm-x86/gart.hto make clear to which IOMMU implementation it belongs. The patch also adds "GART" to theKconfigline.Long overdue IMHO. How about also renaming the config option to
CONFIG_GART_IOMMUwhile you're at it?
Right. The exported function and variable names need also a rename in some cases. I'll prepare a new patch for that to keep the patches small.
Joerg
Signature · 6 lines
| AMD Saxony Limited Liability Company & Co. KG
Operating | Wilschdorfer Landstr. 101, 01109 Dresden, Germany
System | Register Court Dresden: HRA 4896
Research | General Partner authorized to represent:
Center | AMD Saxony LLC (Wilmington, Delaware, US)
| General Manager of AMD Saxony LLC: Dr. Hans-R. Deppe, Thomas McCoy