Skip to contentSkip to conversation

x86_64: pci-gart_64.c iommu_fullflush should be static

PATCH New Jaswinder Singh Rajput 1 participant 1 message Dec 29, 2008 x86

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 x86_64: pci-gart_64.c iommu_fullflush should be static

Impact: cleanup, reduce kernel size a bit, avoid sparse warning

Fixes sparse warning:
arch/x86/kernel/pci-gart_64.c:55:5: warning: symbol 'iommu_fullflush' was not declared. Should it be static?

---
 arch/x86/kernel/pci-gart_64.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/x86/kernel/pci-gart_64.c +1 -1
index a35eaa3..00c2bcd 100644
@@ -52,7 +52,7 @@ static u32 *iommu_gatt_base;		/* Remapping table */
  * to trigger bugs with some popular PCI cards, in particular 3ware (but
  * has been also also seen with Qlogic at least).
  */
-int iommu_fullflush = 1;
+static int iommu_fullflush = 1;
 
 /* Allocation bitmap for the remapping area: */
 static DEFINE_SPINLOCK(iommu_bitmap_lock);
Signature · 1 line
1.5.5.1