KVM: MMU: cleanup mapping-level
authorXiao Guangrong <xiaoguangrong@linux.vnet.ibm.com>
Tue, 5 Feb 2013 07:26:54 +0000 (15:26 +0800)
committerMarcelo Tosatti <mtosatti@redhat.com>
Thu, 7 Feb 2013 00:42:08 +0000 (22:42 -0200)
commit55dd98c3a81e243447d5fbf496fa8b909ef3b7f6
tree3751b699f2ab8de6cbcc51b79f3671d2a0f0e4ac
parentcaf6900f2d8aaebe404c976753f6813ccd31d95e
KVM: MMU: cleanup mapping-level

Use min() to cleanup mapping_level

Reviewed-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Xiao Guangrong <xiaoguangrong@linux.vnet.ibm.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
arch/x86/kvm/mmu.c