aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/x86_64/kernel/pci-calgary.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/arch/x86_64/kernel/pci-calgary.c b/arch/x86_64/kernel/pci-calgary.c
index 7c43cb0f71a3..cd866135e4ef 100644
--- a/arch/x86_64/kernel/pci-calgary.c
+++ b/arch/x86_64/kernel/pci-calgary.c
@@ -129,11 +129,6 @@ static void tce_cache_blast(struct iommu_table *tbl);
129#ifdef CONFIG_IOMMU_DEBUG 129#ifdef CONFIG_IOMMU_DEBUG
130int debugging __read_mostly = 1; 130int debugging __read_mostly = 1;
131 131
132static inline void tce_cache_blast_stress(struct iommu_table *tbl)
133{
134 tce_cache_blast(tbl);
135}
136
137static inline unsigned long verify_bit_range(unsigned long* bitmap, 132static inline unsigned long verify_bit_range(unsigned long* bitmap,
138 int expected, unsigned long start, unsigned long end) 133 int expected, unsigned long start, unsigned long end)
139{ 134{
@@ -153,10 +148,6 @@ static inline unsigned long verify_bit_range(unsigned long* bitmap,
153#else /* debugging is disabled */ 148#else /* debugging is disabled */
154int debugging __read_mostly = 0; 149int debugging __read_mostly = 0;
155 150
156static inline void tce_cache_blast_stress(struct iommu_table *tbl)
157{
158}
159
160static inline unsigned long verify_bit_range(unsigned long* bitmap, 151static inline unsigned long verify_bit_range(unsigned long* bitmap,
161 int expected, unsigned long start, unsigned long end) 152 int expected, unsigned long start, unsigned long end)
162{ 153{
@@ -289,8 +280,6 @@ static void __iommu_free(struct iommu_table *tbl, dma_addr_t dma_addr,
289 } 280 }
290 281
291 __clear_bit_string(tbl->it_map, entry, npages); 282 __clear_bit_string(tbl->it_map, entry, npages);
292
293 tce_cache_blast_stress(tbl);
294} 283}
295 284
296static void iommu_free(struct iommu_table *tbl, dma_addr_t dma_addr, 285static void iommu_free(struct iommu_table *tbl, dma_addr_t dma_addr,