aboutsummaryrefslogtreecommitdiffstats
path: root/xen/arch/x86/time.c
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@suse.com>2012-02-16 08:48:23 +0100
committerJan Beulich <jbeulich@suse.com>2012-02-16 08:48:23 +0100
commit819e844385469bf8933d245fdb63b6e4727bfb09 (patch)
treeb82d2851fe6136f1de887b25cd3e5187e035444d /xen/arch/x86/time.c
parent5c4e1c1b482e7fdf08d42447b4ea054a977e187c (diff)
downloadxen-819e844385469bf8933d245fdb63b6e4727bfb09.tar.gz
xen-819e844385469bf8933d245fdb63b6e4727bfb09.tar.bz2
xen-819e844385469bf8933d245fdb63b6e4727bfb09.zip
replace bogus gdprintk() uses with {,d}printk()
When the subject domain is not the current one (e.g. during domctl or HVM save/restore handling), use of gdprintk() is questionable at best, as it won't give the intended information on what domain is affected. Use plain printk() or dprintk() instead, but keep things (mostly) as guest messages by using XENLOG_G_*. Signed-off-by: Jan Beulich <jbeulich@suse.com> Acked-by: Keir Fraser <keir@xen.org>
Diffstat (limited to 'xen/arch/x86/time.c')
-rw-r--r--xen/arch/x86/time.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xen/arch/x86/time.c b/xen/arch/x86/time.c
index 690fa41cb8..f1a2a2599a 100644
--- a/xen/arch/x86/time.c
+++ b/xen/arch/x86/time.c
@@ -945,8 +945,8 @@ int cpu_frequency_change(u64 freq)
/* Sanity check: CPU frequency allegedly dropping below 1MHz? */
if ( freq < 1000000u )
{
- gdprintk(XENLOG_WARNING, "Rejecting CPU frequency change "
- "to %"PRIu64" Hz.\n", freq);
+ printk(XENLOG_WARNING "Rejecting CPU frequency change "
+ "to %"PRIu64" Hz\n", freq);
return -EINVAL;
}