[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] [IA64] Cleanup vcpu *d



# HG changeset patch
# User Alex Williamson <alex.williamson@xxxxxx>
# Date 1175271677 21600
# Node ID cc0d9207cd34616a3d3c163f045dfd1bb9fd14b5
# Parent  14aeb7981e4ebbbdc2d7d171a2b55b79642bc0a1
[IA64] Cleanup vcpu *d

Signed-off-by: Akio Takebe <takebe_akio@xxxxxxxxxxxxxx>
---
 xen/arch/ia64/vmx/vmmu.c    |    6 +++---
 xen/include/asm-ia64/vmmu.h |    4 ++--
 2 files changed, 5 insertions(+), 5 deletions(-)

diff -r 14aeb7981e4e -r cc0d9207cd34 xen/arch/ia64/vmx/vmmu.c
--- a/xen/arch/ia64/vmx/vmmu.c  Tue Mar 27 12:21:48 2007 -0600
+++ b/xen/arch/ia64/vmx/vmmu.c  Fri Mar 30 10:21:17 2007 -0600
@@ -212,7 +212,7 @@ void free_domain_tlb(struct vcpu *v)
  * Insert guest TLB to machine TLB.
  *  data:   In TLB format
  */
-void machine_tlb_insert(struct vcpu *d, thash_data_t *tlb)
+void machine_tlb_insert(struct vcpu *v, thash_data_t *tlb)
 {
     u64     psr;
     thash_data_t    mtlb;
@@ -221,12 +221,12 @@ void machine_tlb_insert(struct vcpu *d, 
     mtlb.ifa = tlb->vadr;
     mtlb.itir = tlb->itir & ~ITIR_RV_MASK;
     mtlb.page_flags = tlb->page_flags & ~PAGE_FLAGS_RV_MASK;
-    mtlb.ppn = get_mfn(d->domain,tlb->ppn);
+    mtlb.ppn = get_mfn(v->domain, tlb->ppn);
     mtlb_ppn=mtlb.ppn;
 
 #if 0
     if (mtlb_ppn == INVALID_MFN)
-        panic_domain(vcpu_regs(d),"Machine tlb insert with invalid mfn 
number.\n");
+        panic_domain(vcpu_regs(v), "Machine tlb insert with invalid mfn 
number.\n");
 #endif
 
     psr = ia64_clear_ic();
diff -r 14aeb7981e4e -r cc0d9207cd34 xen/include/asm-ia64/vmmu.h
--- a/xen/include/asm-ia64/vmmu.h       Tue Mar 27 12:21:48 2007 -0600
+++ b/xen/include/asm-ia64/vmmu.h       Fri Mar 30 10:21:17 2007 -0600
@@ -295,9 +295,9 @@ extern u64 machine_ttag(PTA pta, u64 va)
 extern u64 machine_ttag(PTA pta, u64 va);
 extern u64 machine_thash(PTA pta, u64 va);
 extern void purge_machine_tc_by_domid(domid_t domid);
-extern void machine_tlb_insert(struct vcpu *d, thash_data_t *tlb);
+extern void machine_tlb_insert(struct vcpu *v, thash_data_t *tlb);
 extern ia64_rr vmmu_get_rr(struct vcpu *vcpu, u64 va);
-extern int init_domain_tlb(struct vcpu *d);
+extern int init_domain_tlb(struct vcpu *v);
 extern void free_domain_tlb(struct vcpu *v);
 extern thash_data_t * vsa_thash(PTA vpta, u64 va, u64 vrr, u64 *tag);
 extern thash_data_t * vhpt_lookup(u64 va);

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.