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

[Xen-changelog] [xen-unstable] [XEN] Logging parameters for powerpc code.



# HG changeset patch
# User kaf24@xxxxxxxxxxxxxxxxxxxxx
# Node ID b07487d91f93298a2cfec8f023e299b624af66d5
# Parent  5c8c5925c7e22076df9343d26db11613454255f8
[XEN] Logging parameters for powerpc code.
Signed-off-by: Steven Rostedt <srostedt@xxxxxxxxxx>
---
 xen/arch/powerpc/mm.c     |    2 +-
 xen/arch/powerpc/shadow.c |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff -r 5c8c5925c7e2 -r b07487d91f93 xen/arch/powerpc/mm.c
--- a/xen/arch/powerpc/mm.c     Fri Oct 27 18:56:24 2006 +0100
+++ b/xen/arch/powerpc/mm.c     Fri Oct 27 18:56:44 2006 +0100
@@ -268,7 +268,7 @@ int allocate_rma(struct domain *d, unsig
 
     d->arch.rma_page = alloc_domheap_pages(d, order, 0);
     if (d->arch.rma_page == NULL) {
-        DPRINTK("Could not allocate order=%d RMA for domain %u\n",
+        DPRINTK(XENLOG_G_INFO "Could not allocate order=%d RMA for domain 
%u\n",
                 order, d->domain_id);
         return -ENOMEM;
     }
diff -r 5c8c5925c7e2 -r b07487d91f93 xen/arch/powerpc/shadow.c
--- a/xen/arch/powerpc/shadow.c Fri Oct 27 18:56:24 2006 +0100
+++ b/xen/arch/powerpc/shadow.c Fri Oct 27 18:56:44 2006 +0100
@@ -120,14 +120,14 @@ int shadow_domctl(struct domain *d,
 {
     if ( unlikely(d == current->domain) )
     {
-        DPRINTK("Don't try to do a shadow op on yourself!\n");
+        DPRINTK(XENLOG_G_INFO "Don't try to do a shadow op on yourself!\n");
         return -EINVAL;
     }
 
     switch ( sc->op )
     {
     case XEN_DOMCTL_SHADOW_OP_OFF:
-         DPRINTK("Shadow is mandatory!\n");
+         DPRINTK(XENLOG_G_INFO "Shadow is mandatory!\n");
          return -EINVAL;
 
     case XEN_DOMCTL_SHADOW_OP_GET_ALLOCATION:

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