KVM: MMU: fix bogus alloc_mmu_pages assignment
authorMarcelo Tosatti <mtosatti@redhat.com>
Tue, 28 Jul 2009 18:26:59 +0000 (15:26 -0300)
committerAvi Kivity <avi@redhat.com>
Thu, 10 Sep 2009 05:33:20 +0000 (08:33 +0300)
commitb90c062c65cc8839edfac39778a37a55ca9bda36
tree4af45ff221747b10605eb5e043410d5e77aa477a
parent3b80fffe2b31fb716d3ebe729c54464ee7856723
KVM: MMU: fix bogus alloc_mmu_pages assignment

Remove the bogus n_free_mmu_pages assignment from alloc_mmu_pages.

It breaks accounting of mmu pages, since n_free_mmu_pages is modified
but the real number of pages remains the same.

Cc: stable@kernel.org
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/mmu.c