From mboxrd@z Thu Jan 1 00:00:00 1970 From: Steven Rostedt Subject: [PATCH 5/6] log level power pc DPRINTK Date: Thu, 26 Oct 2006 23:19:50 -0400 Message-ID: <45417AD6.7010909@redhat.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------030606040801030900090706" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org This is a multi-part message in MIME format. --------------030606040801030900090706 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit This patch updates the powerpc arch to have DPRINTK use the new log levels. Signed-off-by: Steven Rostedt --------------030606040801030900090706 Content-Type: text/x-patch; name="xen-linux-hv-loglevel-DPRINTK-powerpc.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="xen-linux-hv-loglevel-DPRINTK-powerpc.patch" diff -r ccd0478dee8f xen/arch/powerpc/mm.c --- a/xen/arch/powerpc/mm.c Thu Oct 26 22:34:57 2006 -0400 +++ b/xen/arch/powerpc/mm.c Thu Oct 26 22:36:44 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 ccd0478dee8f xen/arch/powerpc/shadow.c --- a/xen/arch/powerpc/shadow.c Thu Oct 26 22:34:57 2006 -0400 +++ b/xen/arch/powerpc/shadow.c Thu Oct 26 22:36:44 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: --------------030606040801030900090706 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --------------030606040801030900090706--