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

[XenPPC] [PATCH] Fix paddr_to_maddr panic message



I saw this fire once and was mightily confused by the "type" printed.

Signed-off-by: Amos Waterland <apw@xxxxxxxxxx>

---

 usercopy.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff -r e12aa1195f58 xen/arch/powerpc/usercopy.c
--- a/xen/arch/powerpc/usercopy.c       Wed Aug 30 18:35:20 2006 -0400
+++ b/xen/arch/powerpc/usercopy.c       Wed Aug 30 20:08:35 2006 -0400
@@ -52,8 +52,8 @@ static unsigned long paddr_to_maddr(unsi
         case PFN_TYPE_LOGICAL:
             break;
         default:
-            panic("%s: called with bad memory address type: 0x%lx\n",
-                    __func__, paddr);
+            panic("%s: address 0x%lx has bad address type: 0x%x\n",
+                    __func__, paddr, mtype);
             break;
     }
     pa <<= PAGE_SHIFT;

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


 


Rackspace

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