KVM: x86: merge handle_mmio_page_fault and handle_mmio_page_fault_common
authorPaolo Bonzini <pbonzini@redhat.com>
Wed, 4 Nov 2015 12:41:21 +0000 (13:41 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 10 Nov 2015 11:06:03 +0000 (12:06 +0100)
commit450869d6dbb72b370774fd4ee14c4f275bb08f98
tree15126a7e93d842e06b6c58d4edc11de29fa5c3c8
parenta3eaa8649e4c6a6afdafaa04b9114fb230617bb1
KVM: x86: merge handle_mmio_page_fault and handle_mmio_page_fault_common

They are exactly the same, except that handle_mmio_page_fault
has an unused argument and a call to WARN_ON.  Remove the unused
argument from the callers, and move the warning to (the former)
handle_mmio_page_fault_common.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/mmu.c
arch/x86/kvm/mmu.h
arch/x86/kvm/paging_tmpl.h
arch/x86/kvm/vmx.c