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-ppc-devel

[XenPPC] [xenppc-unstable] [XEN][POWERPC] oops on debug build break

To: xen-ppc-devel@xxxxxxxxxxxxxxxxxxx
Subject: [XenPPC] [xenppc-unstable] [XEN][POWERPC] oops on debug build break
From: Xen patchbot-xenppc-unstable <patchbot-xenppc-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Mon, 02 Oct 2006 00:40:35 +0000
Delivery-date: Sun, 01 Oct 2006 17:50:29 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-ppc-devel-request@lists.xensource.com?subject=help>
List-id: Xen PPC development <xen-ppc-devel.lists.xensource.com>
List-post: <mailto:xen-ppc-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ppc-devel>, <mailto:xen-ppc-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ppc-devel>, <mailto:xen-ppc-devel-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-ppc-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-ppc-devel-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Jimi Xenidis <jimix@xxxxxxxxxxxxxx>
# Node ID 77373497916f9e24939bf4d9549ba7c67c02c73f
# Parent  b91cda0fb75535d2008191ef259ecf2441edae23
[XEN][POWERPC] oops on debug build break

Signed-off-by: Jimi Xenidis <jimix@xxxxxxxxxxxxxx>
---
 xen/arch/powerpc/papr/xlate.c |   14 ++++++--------
 1 files changed, 6 insertions(+), 8 deletions(-)

diff -r b91cda0fb755 -r 77373497916f 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-ppc-devel mailing list
Xen-ppc-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ppc-devel

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