Skip to content

Commit c854c91

Browse files
Jaswinder Singh RajputIngo Molnar
authored andcommitted
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>
1 parent cbafbc8 commit c854c91

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎arch/x86/kernel/pci-gart_64.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ static u32 *iommu_gatt_base; /* Remapping table */
5252
* to trigger bugs with some popular PCI cards, in particular 3ware (but
5353
* has been also also seen with Qlogic at least).
5454
*/
55-
int iommu_fullflush = 1;
55+
static int iommu_fullflush = 1;
5656

5757
/* Allocation bitmap for the remapping area: */
5858
static DEFINE_SPINLOCK(iommu_bitmap_lock);

0 commit comments

Comments
 (0)