diff options
author | Olaf Hering <olaf@aepfle.de> | 2011-03-25 08:57:47 +0000 |
---|---|---|
committer | Olaf Hering <olaf@aepfle.de> | 2011-03-25 08:57:47 +0000 |
commit | ee89f4611866b671fe32ab11f6c1a65be8842377 (patch) | |
tree | 6463933b78b4a83b5b472dd52da19a99853fb7e0 /xen/common/trace.c | |
parent | b850b9b5730eae9ad058bf17f5b760183a021a90 (diff) | |
download | xen-ee89f4611866b671fe32ab11f6c1a65be8842377.tar.gz xen-ee89f4611866b671fe32ab11f6c1a65be8842377.tar.bz2 xen-ee89f4611866b671fe32ab11f6c1a65be8842377.zip |
xentrace: remove gdprintk usage since they are not in guest context
Signed-off-by: Olaf Hering <olaf@aepfle.de>
Diffstat (limited to 'xen/common/trace.c')
-rw-r--r-- | xen/common/trace.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/xen/common/trace.c b/xen/common/trace.c index cebc5d48d8..29a0753b74 100644 --- a/xen/common/trace.c +++ b/xen/common/trace.c @@ -119,7 +119,7 @@ static int calculate_tbuf_size(unsigned int pages) 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 @@ static int tb_set_size(unsigned int pages) */ 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 @@ void __init init_trace_bufs(void) { 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; |