aboutsummaryrefslogtreecommitdiffstats
path: root/xen/common/sched_sedf.c
diff options
context:
space:
mode:
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>2006-10-23 14:42:52 +0100
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>2006-10-23 14:42:52 +0100
commitdf8899751874cf3aaf1837722782636b3fba6fba (patch)
treeeb7e3f2b6be8eca9f6f3418feebd3f043fd5e711 /xen/common/sched_sedf.c
parent63175f19937279f5fc4526af8de976ee01136d80 (diff)
downloadxen-df8899751874cf3aaf1837722782636b3fba6fba.tar.gz
xen-df8899751874cf3aaf1837722782636b3fba6fba.tar.bz2
xen-df8899751874cf3aaf1837722782636b3fba6fba.zip
[XEN] Remove definition of printf. All users are switched to printk.
Signed-off-by: Keir Fraser <keir@xensource.com>
Diffstat (limited to 'xen/common/sched_sedf.c')
-rw-r--r--xen/common/sched_sedf.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/xen/common/sched_sedf.c b/xen/common/sched_sedf.c
index 02c884d06e..3e041d860e 100644
--- a/xen/common/sched_sedf.c
+++ b/xen/common/sched_sedf.c
@@ -1190,10 +1190,10 @@ static void sedf_dump_domain(struct vcpu *d)
#ifdef SEDF_STATS
if ( EDOM_INFO(d)->block_time_tot != 0 )
- printf(" pen=%"PRIu64"%%", (EDOM_INFO(d)->penalty_time_tot * 100) /
+ printk(" pen=%"PRIu64"%%", (EDOM_INFO(d)->penalty_time_tot * 100) /
EDOM_INFO(d)->block_time_tot);
if ( EDOM_INFO(d)->block_tot != 0 )
- printf("\n blks=%u sh=%u (%u%%) (shc=%u (%u%%) shex=%i "\
+ printk("\n blks=%u sh=%u (%u%%) (shc=%u (%u%%) shex=%i "\
"shexsl=%i) l=%u (%u%%) avg: b=%"PRIu64" p=%"PRIu64"",
EDOM_INFO(d)->block_tot, EDOM_INFO(d)->short_block_tot,
(EDOM_INFO(d)->short_block_tot * 100)
@@ -1206,7 +1206,7 @@ static void sedf_dump_domain(struct vcpu *d)
(EDOM_INFO(d)->block_time_tot) / EDOM_INFO(d)->block_tot,
(EDOM_INFO(d)->penalty_time_tot) / EDOM_INFO(d)->block_tot);
#endif
- printf("\n");
+ printk("\n");
}