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

[Xen-devel] [PATCH 5/6 V2] log level power pc DPRINTK

To: xen-devel@xxxxxxxxxxxxxxxxxxx, Keir.Fraser@xxxxxxxxxxxx
Subject: [Xen-devel] [PATCH 5/6 V2] log level power pc DPRINTK
From: Steven Rostedt <srostedt@xxxxxxxxxx>
Date: Fri, 27 Oct 2006 11:32:26 -0400
Delivery-date: Fri, 27 Oct 2006 08:35:47 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 1.5.0.4 (X11/20060614)
is patch updates the powerpc arch to have DPRINTK use the new log levels.

Signed-off-by: Steven Rostedt <srostedt@xxxxxxxxxx>
diff -r db0af0cb7b3a xen/arch/powerpc/mm.c
--- a/xen/arch/powerpc/mm.c     Fri Oct 27 11:11:43 2006 -0400
+++ b/xen/arch/powerpc/mm.c     Fri Oct 27 11:11:43 2006 -0400
@@ -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 db0af0cb7b3a xen/arch/powerpc/shadow.c
--- a/xen/arch/powerpc/shadow.c Fri Oct 27 11:11:43 2006 -0400
+++ b/xen/arch/powerpc/shadow.c Fri Oct 27 11:11:43 2006 -0400
@@ -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-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH 5/6 V2] log level power pc DPRINTK, Steven Rostedt <=