浏览代码

iommu/amd: Make a symbol static

Symbol is only used in that file and can be static.

Signed-off-by: Joerg Roedel <jroedel@suse.de>
Joerg Roedel 10 年之前
父节点
当前提交
4160cd9e5e
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      drivers/iommu/amd_iommu_init.c

+ 1 - 1
drivers/iommu/amd_iommu_init.c

@@ -154,7 +154,7 @@ bool amd_iommu_iotlb_sup __read_mostly = true;
 u32 amd_iommu_max_pasid __read_mostly = ~0;
 
 bool amd_iommu_v2_present __read_mostly;
-bool amd_iommu_pc_present __read_mostly;
+static bool amd_iommu_pc_present __read_mostly;
 
 bool amd_iommu_force_isolation __read_mostly;