KVM: MMU: use page table level macro
authorDavidlohr Bueso <dave@gnu.org>
Wed, 18 Apr 2012 10:24:29 +0000 (12:24 +0200)
committerMarcelo Tosatti <mtosatti@redhat.com>
Thu, 19 Apr 2012 02:35:01 +0000 (23:35 -0300)
commitf71fa31f9f7ac33cba12b8897983f950ad2c7a5b
treee245e0752e2b028d724b448fdc0542d2e5108888
parenta0c9a822bf37e6282eb6006b407ec5aec22e08fb
KVM: MMU: use page table level macro

Its much cleaner to use PT_PAGE_TABLE_LEVEL than its numeric value.

Signed-off-by: Davidlohr Bueso <dave@gnu.org>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
arch/x86/kvm/mmu.c
arch/x86/kvm/paging_tmpl.h