From: Gleb Natapov Date: Wed, 7 Jul 2010 17:16:44 +0000 (+0300) Subject: KVM: define hwpoison variables static X-Git-Tag: firefly_0821_release~9833^2~1315^2~27 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=fa7bff8f8a7d3de61c0473d0b6dc5a0f4fdc6ac9;p=firefly-linux-kernel-4.4.55.git KVM: define hwpoison variables static They are not used outside of the file. Signed-off-by: Gleb Natapov Signed-off-by: Avi Kivity --- 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) {