|
@@ -183,7 +183,7 @@ static struct calgary_bus_info bus_info[MAX_PHB_BUS_NUM] = { { NULL, 0, 0 }, };
|
|
|
|
|
|
/* enable this to stress test the chip's TCE cache */
|
|
|
#ifdef CONFIG_IOMMU_DEBUG
|
|
|
-int debugging __read_mostly = 1;
|
|
|
+static int debugging = 1;
|
|
|
|
|
|
static inline unsigned long verify_bit_range(unsigned long* bitmap,
|
|
|
int expected, unsigned long start, unsigned long end)
|
|
@@ -202,7 +202,7 @@ static inline unsigned long verify_bit_range(unsigned long* bitmap,
|
|
|
return ~0UL;
|
|
|
}
|
|
|
#else /* debugging is disabled */
|
|
|
-int debugging __read_mostly = 0;
|
|
|
+static int debugging;
|
|
|
|
|
|
static inline unsigned long verify_bit_range(unsigned long* bitmap,
|
|
|
int expected, unsigned long start, unsigned long end)
|