KVM: MMU: Make use of is_large_pte() in walker
authorGui Jianfeng <guijianfeng@cn.fujitsu.com>
Fri, 16 Apr 2010 09:18:01 +0000 (17:18 +0800)
committerAvi Kivity <avi@redhat.com>
Mon, 17 May 2010 09:18:07 +0000 (12:18 +0300)
commit814a59d2077d630cffca7e2878c5b6f9b91ba725
tree95de3baeaeb1f1e4cf78b87065bfd9f1d14a575c
parent51fb60d81b483ae75614d401e7d4271884894113
KVM: MMU: Make use of is_large_pte() in walker

Make use of is_large_pte() instead of checking PT_PAGE_SIZE_MASK
bit directly.

Signed-off-by: Gui Jianfeng <guijianfeng@cn.fujitsu.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/paging_tmpl.h