aboutsummaryrefslogtreecommitdiffstats
path: root/xen/common/cpu.c
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2010-05-14 17:48:53 +0100
committerKeir Fraser <keir.fraser@citrix.com>2010-05-14 17:48:53 +0100
commitc1bc99b8a753b87e0febcf7cddba1d738f9be7fa (patch)
tree94759b6e6ebbc42b1c864faee5f1c88f1b0e6919 /xen/common/cpu.c
parentd16691702974c9c8a30db969d66529320cdccd97 (diff)
downloadxen-c1bc99b8a753b87e0febcf7cddba1d738f9be7fa.tar.gz
xen-c1bc99b8a753b87e0febcf7cddba1d738f9be7fa.tar.bz2
xen-c1bc99b8a753b87e0febcf7cddba1d738f9be7fa.zip
cpu: Quieten normal CPU hotplug operations.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
Diffstat (limited to 'xen/common/cpu.c')
-rw-r--r--xen/common/cpu.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/xen/common/cpu.c b/xen/common/cpu.c
index 82a111de98..4dfc3351b9 100644
--- a/xen/common/cpu.c
+++ b/xen/common/cpu.c
@@ -85,8 +85,6 @@ int cpu_down(unsigned int cpu)
return -EINVAL;
}
- printk("Prepare to bring CPU%d down...\n", cpu);
-
notifier_rc = __raw_notifier_call_chain(
&cpu_chain, CPU_DOWN_PREPARE, hcpu, -1, &nr_calls);
if ( notifier_rc != NOTIFY_DONE )
@@ -115,14 +113,9 @@ int cpu_down(unsigned int cpu)
out:
if ( !err )
- {
- printk("CPU %u is now offline\n", cpu);
send_guest_global_virq(dom0, VIRQ_PCPU_STATE);
- }
else
- {
printk("Failed to take down CPU %u (error %d)\n", cpu, err);
- }
cpu_hotplug_done();
return err;
}
@@ -195,7 +188,6 @@ int disable_nonboot_cpus(void)
}
cpu_set(cpu, frozen_cpus);
- printk("CPU%d is down\n", cpu);
}
BUG_ON(!error && (num_online_cpus() != 1));
@@ -214,9 +206,7 @@ void enable_nonboot_cpus(void)
{
BUG_ON(error == -EBUSY);
printk("Error taking CPU%d up: %d\n", cpu, error);
- continue;
}
- printk("CPU%d is up\n", cpu);
}
cpus_clear(frozen_cpus);