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

[XenPPC] [PATCH] fix debug print in boot_of_alloc_init


  • To: "xen-ppc-devel" <xen-ppc-devel@xxxxxxxxxxxxxxxxxxx>
  • From: "Yoder Stuart-B08248" <stuart.yoder@xxxxxxxxxxxxx>
  • Date: Mon, 8 Jan 2007 15:46:14 -0700
  • Delivery-date: Mon, 08 Jan 2007 14:45:48 -0800
  • List-id: Xen PPC development <xen-ppc-devel.lists.xensource.com>
  • Thread-index: Acczds1SJhJEcKj9SUuQFyF+UfkxqQ==
  • Thread-topic: [PATCH] fix debug print in boot_of_alloc_init

This is a minor bug in a debug print that most likely will never 
be seen, as start is typically 0, but it is something I noticed.

Signed-off-by: Stuart Yoder <stuart.yoder@xxxxxxxxxxxxx>


diff -r db52c7d043bb xen/arch/powerpc/boot_of.c
--- a/xen/arch/powerpc/boot_of.c        Tue Dec 19 09:20:58 2006 -0500
+++ b/xen/arch/powerpc/boot_of.c        Mon Jan 08 16:43:09 2007 -0600
@@ -419,7 +419,7 @@ static void boot_of_alloc_init(int m, ui
             start = ALIGN_UP(start, PAGE_SIZE);

             DBG("%s: marking 0x%x - 0x%lx\n", __func__,
-                pg << PAGE_SHIFT, start);
+                pg << PAGE_SHIFT, start << PAGE_SHIFT);

             start >>= PAGE_SHIFT;
             while (pg < MEM_AVAILABLE_PAGES && pg < start) {

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