summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoland Dreier <rdreier@cisco.com>2009-09-24 14:52:36 -0700
committerLen Brown <len.brown@intel.com>2009-09-27 04:01:40 -0400
commit3d5b6fb47a8e68fa311ca2c3447e7f8a7c3a9cf3 (patch)
treebd82e3774eb6aeee253c49bc8e10a723f8ff816a
parent3e2ada5867b7e9fa0b296d30fa8f3726ebd0a8b7 (diff)
downloadop-kernel-dev-3d5b6fb47a8e68fa311ca2c3447e7f8a7c3a9cf3.zip
op-kernel-dev-3d5b6fb47a8e68fa311ca2c3447e7f8a7c3a9cf3.tar.gz
ACPI: Kill overly verbose "power state" log messages
I was recently lucky enough to get a 64-CPU system, so my kernel log ends up with 64 lines like: ACPI: CPU0 (power states: C1[C1] C2[C3]) This is pretty useless clutter because this info is already available after boot from both /sys/devices/system/cpu/cpu*/cpuidle/state?/ as well as /proc/acpi/processor/CPU*/power. So just delete the code that prints the C-states in processor_idle.c. Signed-off-by: Roland Dreier <rolandd@cisco.com> Signed-off-by: Len Brown <len.brown@intel.com>
-rw-r--r--drivers/acpi/processor_idle.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/acpi/processor_idle.c b/drivers/acpi/processor_idle.c
index cc61a62..706eacf 100644
--- a/drivers/acpi/processor_idle.c
+++ b/drivers/acpi/processor_idle.c
@@ -1214,13 +1214,6 @@ int __cpuinit acpi_processor_power_init(struct acpi_processor *pr,
acpi_processor_setup_cpuidle(pr);
if (cpuidle_register_device(&pr->power.dev))
return -EIO;
-
- printk(KERN_INFO PREFIX "CPU%d (power states:", pr->id);
- for (i = 1; i <= pr->power.count; i++)
- if (pr->power.states[i].valid)
- printk(" C%d[C%d]", i,
- pr->power.states[i].type);
- printk(")\n");
}
#ifdef CONFIG_ACPI_PROCFS
/* 'power' [R] */
OpenPOWER on IntegriCloud