]> err.no Git - linux-2.6/commit
KVM: MMU: Move set_pte() into guest paging mode independent code
authorAvi Kivity <avi@qumranet.com>
Sun, 9 Dec 2007 15:40:31 +0000 (17:40 +0200)
committerAvi Kivity <avi@qumranet.com>
Wed, 30 Jan 2008 15:53:21 +0000 (17:53 +0200)
commit1c4f1fd6d5692614e8dc75ee53f7be590f1e878b
tree8b3c8f468923537dbd87c39995661e704c4f2b80
parent2fbf4cf13f777e1f61ee692fe67d16bddd747700
KVM: MMU: Move set_pte() into guest paging mode independent code

As set_pte() no longer references either a gpte or the guest walker, we can
move it out of paging mode dependent code (which compiles twice and is
generally nasty).

Signed-off-by: Avi Kivity <avi@qumranet.com>
drivers/kvm/mmu.c
drivers/kvm/paging_tmpl.h