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

[Xen-changelog] [xen-unstable] xentrace: remove gdprintk usage since they are not in guest context



# HG changeset patch
# User Olaf Hering <olaf@xxxxxxxxx>
# Date 1301043467 0
# Node ID 4b784605b08973cf3ebf2f5fc8184a89b8ac8c94
# Parent  45dafa422812c289ae05d73d4738e7cf4cc58f22
xentrace: remove gdprintk usage since they are not in guest context

Signed-off-by: Olaf Hering <olaf@xxxxxxxxx>
---


diff -r 45dafa422812 -r 4b784605b089 xen/common/trace.c
--- a/xen/common/trace.c        Fri Mar 25 08:57:28 2011 +0000
+++ b/xen/common/trace.c        Fri Mar 25 08:57:47 2011 +0000
@@ -119,7 +119,7 @@
     size /= PAGE_SIZE;
     if ( pages > size )
     {
-        gdprintk(XENLOG_INFO, "%s: requested number of %u pages reduced to 
%u\n",
+        printk(XENLOG_INFO "%s: requested number of %u pages reduced to %u\n",
                __func__, pages, (unsigned int)size);
         pages = size;
     }
@@ -265,7 +265,7 @@
      */
     if ( opt_tbuf_size && pages != opt_tbuf_size )
     {
-        gdprintk(XENLOG_INFO, "tb_set_size from %d to %d not implemented\n",
+        printk(XENLOG_INFO "tb_set_size from %d to %d not implemented\n",
                      opt_tbuf_size, pages);
         return -EINVAL;
     }
@@ -310,7 +310,7 @@
 {
     if ( opt_tbuf_size && alloc_trace_bufs(opt_tbuf_size) )
     {
-        gdprintk(XENLOG_INFO, "Xen trace buffers: "
+        printk(XENLOG_INFO "Xen trace buffers: "
                  "allocation size %d failed, disabling\n",
                  opt_tbuf_size);
         opt_tbuf_size = 0;

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