]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita3597fdf642d334e8b49c94e18afacf5dfe9c12c
tree15126a7e93d842e06b6c58d4edc11de29fa5c3c8
parent6496e67da1d2bfebdedee12c264c026a4d2eb845
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