projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f84cbb0
)
KVM: MMU: remove unnecessary NX check in walk_addr
author
Xiao Guangrong
<xiaoguangrong@cn.fujitsu.com>
Tue, 6 Apr 2010 10:31:13 +0000
(18:31 +0800)
committer
Avi Kivity
<avi@redhat.com>
Mon, 17 May 2010 09:17:30 +0000
(12:17 +0300)
After is_rsvd_bits_set() checks, EFER.NXE must be enabled if NX bit is seted
Signed-off-by: Xiao Guangrong <xiaoguangrong@cn.fujitsu.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
arch/x86/kvm/paging_tmpl.h
patch
|
blob
|
blame
|
history
diff --git
a/arch/x86/kvm/paging_tmpl.h
b/arch/x86/kvm/paging_tmpl.h
index 067797a72768b3f1ec2024fbd271d64afbca68a5..d9dea288e51d287141018580caaad85013720ce0 100644
(file)
--- a/
arch/x86/kvm/paging_tmpl.h
+++ b/
arch/x86/kvm/paging_tmpl.h
@@
-170,7
+170,7
@@
walk:
goto access_error;
#if PTTYPE == 64
- if (fetch_fault &&
is_nx(vcpu) &&
(pte & PT64_NX_MASK))
+ if (fetch_fault && (pte & PT64_NX_MASK))
goto access_error;
#endif