From: Steven Rostedt <srostedt@redhat.com>
To: xen-devel@lists.xensource.com, Keir.Fraser@cl.cam.ac.uk
Subject: [PATCH 5/6 V2] log level power pc DPRINTK
Date: Fri, 27 Oct 2006 11:32:26 -0400 [thread overview]
Message-ID: <4542268A.4020504@redhat.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 127 bytes --]
is patch updates the powerpc arch to have DPRINTK use the new log levels.
Signed-off-by: Steven Rostedt <srostedt@redhat.com>
[-- Attachment #2: xen-linux-hv-loglevel-DPRINTK-powerpc.patch --]
[-- Type: text/x-patch, Size: 1245 bytes --]
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:
[-- Attachment #3: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
reply other threads:[~2006-10-27 15:32 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4542268A.4020504@redhat.com \
--to=srostedt@redhat.com \
--cc=Keir.Fraser@cl.cam.ac.uk \
--cc=xen-devel@lists.xensource.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.