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

[Xen-changelog] [xen-unstable] [XEN][POWERPC] oops on debug build break



# HG changeset patch
# User Jimi Xenidis <jimix@xxxxxxxxxxxxxx>
# Node ID 2bf4257944f4d4b6f090bcf689294510f099b412
# Parent  4ca8abbd89c8884684dace94ad99e525490ab326
[XEN][POWERPC] oops on debug build break
Signed-off-by: Jimi Xenidis <jimix@xxxxxxxxxxxxxx>
Signed-off-by: Hollis Blanchard <hollisb@xxxxxxxxxx>
---
 xen/arch/powerpc/papr/xlate.c |   14 ++++++--------
 1 files changed, 6 insertions(+), 8 deletions(-)

diff -r 4ca8abbd89c8 -r 2bf4257944f4 xen/arch/powerpc/papr/xlate.c
--- a/xen/arch/powerpc/papr/xlate.c     Sun Oct 01 08:38:38 2006 -0400
+++ b/xen/arch/powerpc/papr/xlate.c     Sun Oct 01 20:40:44 2006 -0400
@@ -378,7 +378,6 @@ static void h_protect(struct cpu_user_re
 
 static void h_clear_ref(struct cpu_user_regs *regs)
 {
-    ulong flags = regs->gprs[4];
     ulong ptex = regs->gprs[5];
     struct vcpu *v = get_current();
     struct domain *d = v->domain;
@@ -387,13 +386,13 @@ static void h_clear_ref(struct cpu_user_
     union pte lpte;
 
     DBG_LOW("%s: flags: 0x%lx ptex: 0x%lx\n", __func__,
-            flags, ptex);
+            regs->gprs[4], ptex);
 
 #ifdef DEBUG
-    if (flags != 0) {
+    if (regs->gprs[4] != 0) {
         DBG("WARNING: %s: "
             "flags are undefined and should be 0: 0x%lx\n",
-            __func__, flags);
+            __func__, regs->gprs[4]);
     }
 #endif
 
@@ -421,7 +420,6 @@ static void h_clear_ref(struct cpu_user_
 
 static void h_clear_mod(struct cpu_user_regs *regs)
 {
-    ulong flags = regs->gprs[4];
     ulong ptex = regs->gprs[5];
     struct vcpu *v = get_current();
     struct domain *d = v->domain;
@@ -430,13 +428,13 @@ static void h_clear_mod(struct cpu_user_
     union pte lpte;
 
     DBG_LOW("%s: flags: 0x%lx ptex: 0x%lx\n", __func__,
-           flags, ptex);
+          regs->gprs[4], ptex);
 
 #ifdef DEBUG
-    if (flags != 0) {
+    if (regs->gprs[4] != 0) {
         DBG("WARNING: %s: "
             "flags are undefined and should be 0: 0x%lx\n",
-            __func__, flags);
+            __func__, regs->gprs[4]);
     }
 #endif
 

_______________________________________________
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®.