KVM: MMU: Fix nx access bit for huge pages
authorAvi Kivity <avi@qumranet.com>
Thu, 11 Oct 2007 13:08:41 +0000 (15:08 +0200)
committerAvi Kivity <avi@qumranet.com>
Wed, 30 Jan 2008 15:52:51 +0000 (17:52 +0200)
commitc22e3514fceb2f514093ce1d19a2f660ac7347ae
tree7df0ec47014030c2dd126d25be868306ea87a7ec
parente3c5e7ec9efe0ebd47fa812cc86f01c51905edf6
KVM: MMU: Fix nx access bit for huge pages

We must set the bit before the shift, otherwise the wrong bit gets set.

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