ia64/xen-unstable

changeset 12034:b07487d91f93

[XEN] Logging parameters for powerpc code.
Signed-off-by: Steven Rostedt <srostedt@redhat.com>
author kaf24@localhost.localdomain
date Fri Oct 27 18:56:44 2006 +0100 (2006-10-27)
parents 5c8c5925c7e2
children dc973fe56333
files xen/arch/powerpc/mm.c xen/arch/powerpc/shadow.c
line diff
     1.1 --- a/xen/arch/powerpc/mm.c	Fri Oct 27 18:56:24 2006 +0100
     1.2 +++ b/xen/arch/powerpc/mm.c	Fri Oct 27 18:56:44 2006 +0100
     1.3 @@ -268,7 +268,7 @@ int allocate_rma(struct domain *d, unsig
     1.4  
     1.5      d->arch.rma_page = alloc_domheap_pages(d, order, 0);
     1.6      if (d->arch.rma_page == NULL) {
     1.7 -        DPRINTK("Could not allocate order=%d RMA for domain %u\n",
     1.8 +        DPRINTK(XENLOG_G_INFO "Could not allocate order=%d RMA for domain %u\n",
     1.9                  order, d->domain_id);
    1.10          return -ENOMEM;
    1.11      }
     2.1 --- a/xen/arch/powerpc/shadow.c	Fri Oct 27 18:56:24 2006 +0100
     2.2 +++ b/xen/arch/powerpc/shadow.c	Fri Oct 27 18:56:44 2006 +0100
     2.3 @@ -120,14 +120,14 @@ int shadow_domctl(struct domain *d,
     2.4  {
     2.5      if ( unlikely(d == current->domain) )
     2.6      {
     2.7 -        DPRINTK("Don't try to do a shadow op on yourself!\n");
     2.8 +        DPRINTK(XENLOG_G_INFO "Don't try to do a shadow op on yourself!\n");
     2.9          return -EINVAL;
    2.10      }
    2.11  
    2.12      switch ( sc->op )
    2.13      {
    2.14      case XEN_DOMCTL_SHADOW_OP_OFF:
    2.15 -         DPRINTK("Shadow is mandatory!\n");
    2.16 +         DPRINTK(XENLOG_G_INFO "Shadow is mandatory!\n");
    2.17           return -EINVAL;
    2.18  
    2.19      case XEN_DOMCTL_SHADOW_OP_GET_ALLOCATION: