diff options
author | Len Brown <len.brown@intel.com> | 2009-04-22 19:28:15 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2009-04-22 19:56:09 -0400 |
commit | 92614610774072ea68131f16e024ee8fc15be9be (patch) | |
tree | e0e7d25f3b01edb5f1fd1c38db428bd609dea4d9 /drivers/acpi/processor_idle.c | |
parent | a71e4917dc0ebbcb5a0ecb7ca3486643c1c9a6e2 (diff) |
ACPI: delete obsolete "bus master activity" proc field
Linux-2.6.29 deleted the legacy ACPI idle handler, leaving
the CPU_IDLE handler, which does not track bus master activity.
So delete the unused bm_activity field -- it is confusing to
print an always zero value.
This patch could break programs that parse
/proc/acpi/processor/*/power, since it deletes this
line from that file:
bus master activity: 00000000
http://bugzilla.kernel.org/show_bug.cgi?id=13145
is not fixed by this patch, but provoked this patch.
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/processor_idle.c')
-rw-r--r-- | drivers/acpi/processor_idle.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/acpi/processor_idle.c b/drivers/acpi/processor_idle.c index 9d1f01ee65db..eed3b458ebac 100644 --- a/drivers/acpi/processor_idle.c +++ b/drivers/acpi/processor_idle.c | |||
@@ -662,11 +662,9 @@ static int acpi_processor_power_seq_show(struct seq_file *seq, void *offset) | |||
662 | 662 | ||
663 | seq_printf(seq, "active state: C%zd\n" | 663 | seq_printf(seq, "active state: C%zd\n" |
664 | "max_cstate: C%d\n" | 664 | "max_cstate: C%d\n" |
665 | "bus master activity: %08x\n" | ||
666 | "maximum allowed latency: %d usec\n", | 665 | "maximum allowed latency: %d usec\n", |
667 | pr->power.state ? pr->power.state - pr->power.states : 0, | 666 | pr->power.state ? pr->power.state - pr->power.states : 0, |
668 | max_cstate, (unsigned)pr->power.bm_activity, | 667 | max_cstate, pm_qos_requirement(PM_QOS_CPU_DMA_LATENCY)); |
669 | pm_qos_requirement(PM_QOS_CPU_DMA_LATENCY)); | ||
670 | 668 | ||
671 | seq_puts(seq, "states:\n"); | 669 | seq_puts(seq, "states:\n"); |
672 | 670 | ||