Browse Source

KVM: define hwpoison variables static

They are not used outside of the file.

Signed-off-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
Gleb Natapov 15 years ago
parent
commit
fa7bff8f8a
1 changed files with 2 additions and 2 deletions
  1. 2 2
      virt/kvm/kvm_main.c

+ 2 - 2
virt/kvm/kvm_main.c

@@ -93,8 +93,8 @@ static bool kvm_rebooting;
 
 
 static bool largepages_enabled = true;
 static bool largepages_enabled = true;
 
 
-struct page *hwpoison_page;
-pfn_t hwpoison_pfn;
+static struct page *hwpoison_page;
+static pfn_t hwpoison_pfn;
 
 
 inline int kvm_is_mmio_pfn(pfn_t pfn)
 inline int kvm_is_mmio_pfn(pfn_t pfn)
 {
 {