KVM: MMU: use slot_handle_level and its helper to clean up the code
authorXiao Guangrong <guangrong.xiao@linux.intel.com>
Wed, 13 May 2015 06:42:24 +0000 (14:42 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 19 May 2015 18:52:41 +0000 (20:52 +0200)
commitd77aa73c7072c598a6d1f3a781c0e4fae067df76
treeb890aa38d59bd0efc5aef3f2412dd0a95055b9cf
parent1bad2b2a3b158fbb19fef6cd563301b94b5c28b2
KVM: MMU: use slot_handle_level and its helper to clean up the code

slot_handle_level and its helper functions are ready now, use them to
clean up the code

Signed-off-by: Xiao Guangrong <guangrong.xiao@linux.intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/mmu.c