summaryrefslogtreecommitdiff
path: root/drivers/kvm/paging_tmpl.h
diff options
context:
space:
mode:
authorAvi Kivity <avi@qumranet.com>2007-05-31 15:28:51 (GMT)
committerAvi Kivity <avi@qumranet.com>2007-07-16 09:05:45 (GMT)
commitbd2b2baa5c5fbb08b4b0df7508ff419407f7ece6 (patch)
tree48cfc0023069b65203741f17586720e48c3f54f9 /drivers/kvm/paging_tmpl.h
parentb64b3763a5b3868e85330c891e1a30189dcde9b1 (diff)
downloadlinux-bd2b2baa5c5fbb08b4b0df7508ff419407f7ece6.tar.xz
KVM: MMU: Remove unused large page marker
This has not been used for some time, as the same information is available in the page header. Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'drivers/kvm/paging_tmpl.h')
-rw-r--r--drivers/kvm/paging_tmpl.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/kvm/paging_tmpl.h b/drivers/kvm/paging_tmpl.h
index adc1206..a7c5cb0 100644
--- a/drivers/kvm/paging_tmpl.h
+++ b/drivers/kvm/paging_tmpl.h
@@ -384,8 +384,6 @@ static u64 *FNAME(fetch)(struct kvm_vcpu *vcpu, gva_t addr,
}
if (walker->level == PT_DIRECTORY_LEVEL) {
- if (prev_shadow_ent)
- *prev_shadow_ent |= PT_SHADOW_PS_MARK;
FNAME(set_pde)(vcpu, guest_ent, shadow_ent,
walker->inherited_ar, user_fault, write_fault,
ptwrite, walker, walker->gfn);