projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
06ff0d3
)
KVM: Use symbolic constants instead of magic numbers
author
Eddie Dong
<eddie.dong@intel.com>
Tue, 29 May 2007 12:07:21 +0000
(15:07 +0300)
committer
Avi Kivity
<avi@qumranet.com>
Mon, 16 Jul 2007 09:05:42 +0000
(12:05 +0300)
Signed-off-by: Avi Kivity <avi@qumranet.com>
drivers/kvm/paging_tmpl.h
patch
|
blob
|
history
diff --git
a/drivers/kvm/paging_tmpl.h
b/drivers/kvm/paging_tmpl.h
index 6dd0da9a5d15733b3cb445d024fec854aa7fb599..183d4ca9b31588645105b2b792e8db07d35bd314 100644
(file)
--- a/
drivers/kvm/paging_tmpl.h
+++ b/
drivers/kvm/paging_tmpl.h
@@
-213,7
+213,7
@@
static void FNAME(update_pte)(struct kvm_vcpu *vcpu, struct kvm_mmu_page *page,
if (~gpte & (PT_PRESENT_MASK | PT_ACCESSED_MASK))
return;
pgprintk("%s: gpte %llx spte %p\n", __FUNCTION__, (u64)gpte, spte);
- FNAME(set_pte)(vcpu, gpte, spte,
6
,
+ FNAME(set_pte)(vcpu, gpte, spte,
PT_USER_MASK | PT_WRITABLE_MASK
,
(gpte & PT_BASE_ADDR_MASK) >> PAGE_SHIFT);
}