WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

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

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] [XEN][POWERPC] oops on debug build break
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Wed, 13 Dec 2006 17:34:25 +0000
Delivery-date: Wed, 13 Dec 2006 09:35:48 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# 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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] [XEN][POWERPC] oops on debug build break, Xen patchbot-unstable <=