From: Jaswinder Singh Rajput Date: Mon, 29 Dec 2008 15:08:09 +0000 (+0530) Subject: x86_64: pci-gart_64.c iommu_fullflush should be static X-Git-Tag: v2.6.29-rc1~536^2~16 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=c854c91979e0717c619bc55e124d41d60d5eb3d6;p=linux-2.6-omap-h63xx.git 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? Signed-off-by: Jaswinder Singh Rajput Signed-off-by: Ingo Molnar --- diff --git a/arch/x86/kernel/pci-gart_64.c b/arch/x86/kernel/pci-gart_64.c index a35eaa379ff..00c2bcd4146 100644 --- a/arch/x86/kernel/pci-gart_64.c +++ b/arch/x86/kernel/pci-gart_64.c @@ -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);