diff options
author | Joerg Roedel <joerg.roedel@amd.com> | 2007-10-24 06:49:50 -0400 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2007-10-29 19:22:22 -0400 |
commit | 0440d4c00dadf8b97657c0864e4d54a088430de8 (patch) | |
tree | 4750cbab8af0b2b948519553ca19a724fdce8d24 /arch/x86/kernel/early-quirks.c | |
parent | 79da0874410c0af8958f0ee3a50aa5b67eecc640 (diff) |
x86 gart: rename symbols only used for the GART implementation
This patch renames the 4 symbols iommu_hole_init(), iommu_aperture,
iommu_aperture_allowed, iommu_aperture_disabled. All these symbols are only
used for the GART implementation of IOMMUs.
It adds and additional gart_ prefix to them.
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/x86/kernel/early-quirks.c')
-rw-r--r-- | arch/x86/kernel/early-quirks.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/kernel/early-quirks.c b/arch/x86/kernel/early-quirks.c index b8265c1ea0d3..88bb83ec895f 100644 --- a/arch/x86/kernel/early-quirks.c +++ b/arch/x86/kernel/early-quirks.c | |||
@@ -25,11 +25,11 @@ static void __init via_bugs(void) | |||
25 | { | 25 | { |
26 | #ifdef CONFIG_GART_IOMMU | 26 | #ifdef CONFIG_GART_IOMMU |
27 | if ((end_pfn > MAX_DMA32_PFN || force_iommu) && | 27 | if ((end_pfn > MAX_DMA32_PFN || force_iommu) && |
28 | !iommu_aperture_allowed) { | 28 | !gart_iommu_aperture_allowed) { |
29 | printk(KERN_INFO | 29 | printk(KERN_INFO |
30 | "Looks like a VIA chipset. Disabling IOMMU." | 30 | "Looks like a VIA chipset. Disabling IOMMU." |
31 | " Override with iommu=allowed\n"); | 31 | " Override with iommu=allowed\n"); |
32 | iommu_aperture_disabled = 1; | 32 | gart_iommu_aperture_disabled = 1; |
33 | } | 33 | } |
34 | #endif | 34 | #endif |
35 | } | 35 | } |