diff options
Diffstat (limited to 'arch/x86/kernel/pci-calgary_64.c')
-rw-r--r-- | arch/x86/kernel/pci-calgary_64.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/x86/kernel/pci-calgary_64.c b/arch/x86/kernel/pci-calgary_64.c index 6bf1f716909d..21f34db2c03c 100644 --- a/arch/x86/kernel/pci-calgary_64.c +++ b/arch/x86/kernel/pci-calgary_64.c | |||
@@ -30,7 +30,6 @@ | |||
30 | #include <linux/spinlock.h> | 30 | #include <linux/spinlock.h> |
31 | #include <linux/string.h> | 31 | #include <linux/string.h> |
32 | #include <linux/dma-mapping.h> | 32 | #include <linux/dma-mapping.h> |
33 | #include <linux/init.h> | ||
34 | #include <linux/bitops.h> | 33 | #include <linux/bitops.h> |
35 | #include <linux/pci_ids.h> | 34 | #include <linux/pci_ids.h> |
36 | #include <linux/pci.h> | 35 | #include <linux/pci.h> |
@@ -183,7 +182,7 @@ static struct calgary_bus_info bus_info[MAX_PHB_BUS_NUM] = { { NULL, 0, 0 }, }; | |||
183 | 182 | ||
184 | /* enable this to stress test the chip's TCE cache */ | 183 | /* enable this to stress test the chip's TCE cache */ |
185 | #ifdef CONFIG_IOMMU_DEBUG | 184 | #ifdef CONFIG_IOMMU_DEBUG |
186 | int debugging __read_mostly = 1; | 185 | static int debugging = 1; |
187 | 186 | ||
188 | static inline unsigned long verify_bit_range(unsigned long* bitmap, | 187 | static inline unsigned long verify_bit_range(unsigned long* bitmap, |
189 | int expected, unsigned long start, unsigned long end) | 188 | int expected, unsigned long start, unsigned long end) |
@@ -202,7 +201,7 @@ static inline unsigned long verify_bit_range(unsigned long* bitmap, | |||
202 | return ~0UL; | 201 | return ~0UL; |
203 | } | 202 | } |
204 | #else /* debugging is disabled */ | 203 | #else /* debugging is disabled */ |
205 | int debugging __read_mostly = 0; | 204 | static int debugging; |
206 | 205 | ||
207 | static inline unsigned long verify_bit_range(unsigned long* bitmap, | 206 | static inline unsigned long verify_bit_range(unsigned long* bitmap, |
208 | int expected, unsigned long start, unsigned long end) | 207 | int expected, unsigned long start, unsigned long end) |