summaryrefslogtreecommitdiffstats
path: root/virt/kvm/kvm_main.c
diff options
context:
space:
mode:
authorGleb Natapov <gleb@redhat.com>2010-07-07 20:16:44 +0300
committerAvi Kivity <avi@redhat.com>2010-08-02 06:40:32 +0300
commitfa7bff8f8a7d3de61c0473d0b6dc5a0f4fdc6ac9 (patch)
tree0a5c342261b6cee1ef9d1172a215a6c80af79547 /virt/kvm/kvm_main.c
parent673813e81d8468e80b6dd0fa839923eb9748dc49 (diff)
downloadlinux-stable-fa7bff8f8a7d3de61c0473d0b6dc5a0f4fdc6ac9.tar.gz
linux-stable-fa7bff8f8a7d3de61c0473d0b6dc5a0f4fdc6ac9.tar.bz2
linux-stable-fa7bff8f8a7d3de61c0473d0b6dc5a0f4fdc6ac9.zip
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>
Diffstat (limited to 'virt/kvm/kvm_main.c')
-rw-r--r--virt/kvm/kvm_main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/virt/kvm/kvm_main.c b/virt/kvm/kvm_main.c
index a60b6b053b6f..630d1224f187 100644
--- a/virt/kvm/kvm_main.c
+++ b/virt/kvm/kvm_main.c
@@ -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)
{