Skip to content

Commit

Permalink
KVM: define hwpoison variables static
Browse files Browse the repository at this point in the history
They are not used outside of the file.

Signed-off-by: Gleb Natapov <[email protected]>
Signed-off-by: Avi Kivity <[email protected]>
  • Loading branch information
Gleb Natapov authored and avikivity committed Aug 2, 2010
1 parent 673813e commit fa7bff8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions virt/kvm/kvm_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit fa7bff8

Please sign in to comment.