KVM: define hwpoison variables static
authorGleb Natapov <gleb@redhat.com>
Wed, 7 Jul 2010 17:16:44 +0000 (20:16 +0300)
committerAvi Kivity <avi@redhat.com>
Mon, 2 Aug 2010 03:40:32 +0000 (06:40 +0300)
They are not used outside of the file.

Signed-off-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
virt/kvm/kvm_main.c

index a60b6b053b6fca12cb33056752d69e5fee2805fa..630d1224f18793e5f0756807c482171118ad8216 100644 (file)
@@ -93,8 +93,8 @@ static bool kvm_rebooting;
 
 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)
 {