]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: MMU: Move gpte_access() out of paging_tmpl.h
authorAvi Kivity <avi@redhat.com>
Wed, 12 Sep 2012 11:03:28 +0000 (14:03 +0300)
committerAvi Kivity <avi@redhat.com>
Thu, 20 Sep 2012 10:00:08 +0000 (13:00 +0300)
commit264b1dd194fd9a6440fc14f1cc366c419f11f27d
tree0f2be432c532d25e8979b3853eb57af754d96f72
parentbcb9f3cf49369dc2f10d30df787cb34bfd6c6e27
KVM: MMU: Move gpte_access() out of paging_tmpl.h

We no longer rely on paging_tmpl.h defines; so we can move the function
to mmu.c.

Rely on zero extension to 64 bits to get the correct nx behaviour.

Reviewed-by: Xiao Guangrong <xiaoguangrong@linux.vnet.ibm.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/mmu.c
arch/x86/kvm/paging_tmpl.h