KVM: MMU: cleanup __direct_map
authorXiao Guangrong <xiaoguangrong@linux.vnet.ibm.com>
Tue, 5 Feb 2013 07:28:02 +0000 (15:28 +0800)
committerMarcelo Tosatti <mtosatti@redhat.com>
Thu, 7 Feb 2013 00:42:09 +0000 (22:42 -0200)
commit24db2734ad8123b6858ca98d690483ecdcceebb5
tree702ca7b1dbd01e4e3feb33e2563f36c9fce6d7d0
parentf761620377ebc791afba7ded078947d2116f48ce
KVM: MMU: cleanup __direct_map

Use link_shadow_page to link the sp to the spte in __direct_map

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