diff options
author | Joerg Roedel <joerg.roedel@amd.com> | 2007-10-24 06:49:49 -0400 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2007-10-29 19:22:22 -0400 |
commit | 79da0874410c0af8958f0ee3a50aa5b67eecc640 (patch) | |
tree | 5b41384daaa98670669db0c5b06c085dadfdc413 | |
parent | 966396d3a05c8049fce5c81c49138e5ee1b05443 (diff) |
x86 gart: make some variables and functions static
This patch makes some functions and variables static in pci-gart_64.c which are
not used somewhere else.
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Acked-by: Muli Ben-Yehuda <muli@il.ibm.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
-rw-r--r-- | arch/x86/kernel/pci-gart_64.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/x86/kernel/pci-gart_64.c b/arch/x86/kernel/pci-gart_64.c index c9ba80bf26e9..3be0b83dc4cb 100644 --- a/arch/x86/kernel/pci-gart_64.c +++ b/arch/x86/kernel/pci-gart_64.c | |||
@@ -36,11 +36,11 @@ | |||
36 | #include <asm/dma.h> | 36 | #include <asm/dma.h> |
37 | #include <asm/k8.h> | 37 | #include <asm/k8.h> |
38 | 38 | ||
39 | unsigned long iommu_bus_base; /* GART remapping area (physical) */ | 39 | static unsigned long iommu_bus_base; /* GART remapping area (physical) */ |
40 | static unsigned long iommu_size; /* size of remapping area bytes */ | 40 | static unsigned long iommu_size; /* size of remapping area bytes */ |
41 | static unsigned long iommu_pages; /* .. and in pages */ | 41 | static unsigned long iommu_pages; /* .. and in pages */ |
42 | 42 | ||
43 | u32 *iommu_gatt_base; /* Remapping table */ | 43 | static u32 *iommu_gatt_base; /* Remapping table */ |
44 | 44 | ||
45 | /* If this is disabled the IOMMU will use an optimized flushing strategy | 45 | /* If this is disabled the IOMMU will use an optimized flushing strategy |
46 | of only flushing when an mapping is reused. With it true the GART is flushed | 46 | of only flushing when an mapping is reused. With it true the GART is flushed |
@@ -135,8 +135,8 @@ static void flush_gart(void) | |||
135 | /* Debugging aid for drivers that don't free their IOMMU tables */ | 135 | /* Debugging aid for drivers that don't free their IOMMU tables */ |
136 | static void **iommu_leak_tab; | 136 | static void **iommu_leak_tab; |
137 | static int leak_trace; | 137 | static int leak_trace; |
138 | int iommu_leak_pages = 20; | 138 | static int iommu_leak_pages = 20; |
139 | void dump_leak(void) | 139 | static void dump_leak(void) |
140 | { | 140 | { |
141 | int i; | 141 | int i; |
142 | static int dump; | 142 | static int dump; |