Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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 <jaswinderrajput@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>

authored by

Jaswinder Singh Rajput and committed by
Ingo Molnar
c854c919 cbafbc82

+1 -1
+1 -1
arch/x86/kernel/pci-gart_64.c
··· 52 52 * to trigger bugs with some popular PCI cards, in particular 3ware (but 53 53 * has been also also seen with Qlogic at least). 54 54 */ 55 - int iommu_fullflush = 1; 55 + static int iommu_fullflush = 1; 56 56 57 57 /* Allocation bitmap for the remapping area: */ 58 58 static DEFINE_SPINLOCK(iommu_bitmap_lock);