Commit fa7bff8f8a7d3de61c0473d0b6dc5a0f4fdc6ac9

Authored by Gleb Natapov
Committed by Avi Kivity
1 parent 673813e81d

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>

Showing 1 changed file with 2 additions and 2 deletions Side-by-side Diff

... ... @@ -93,8 +93,8 @@
93 93  
94 94 static bool largepages_enabled = true;
95 95  
96   -struct page *hwpoison_page;
97   -pfn_t hwpoison_pfn;
  96 +static struct page *hwpoison_page;
  97 +static pfn_t hwpoison_pfn;
98 98  
99 99 inline int kvm_is_mmio_pfn(pfn_t pfn)
100 100 {