KVM: MMU: Infer shadow root level in direct_map()
authorAvi Kivity <avi@qumranet.com>
Tue, 26 Aug 2008 13:16:08 +0000 (16:16 +0300)
committerAvi Kivity <avi@qumranet.com>
Wed, 15 Oct 2008 08:15:22 +0000 (10:15 +0200)
commit6c41f428b72afe5a581b967590c12538db31d399
tree8b1cd1520469b23d033d7046db2d03ef727d54a4
parent0be9e929e398d6da6406183a8732dbfd0937fafe
KVM: MMU: Infer shadow root level in direct_map()

In all cases the shadow root level is available in mmu.shadow_root_level,
so there is no need to pass it as a parameter.

Signed-off-by: Avi Kivity <avi@qumranet.com>
arch/x86/kvm/mmu.c