Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 199262
b: refs/heads/master
c: 34a18d6
h: refs/heads/master
v: v3
  • Loading branch information
Len Brown committed May 21, 2010
1 parent 771d37e commit 921fffc
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 27 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d6bd535d88429b4804d6d917ab4f586306f9a855
refs/heads/master: 34a18d6fe5430184e4ca96eeb074ee671d89fe7b
16 changes: 3 additions & 13 deletions trunk/drivers/acpi/processor_idle.c
Original file line number Diff line number Diff line change
Expand Up @@ -727,19 +727,9 @@ static int acpi_processor_power_seq_show(struct seq_file *seq, void *offset)
break;
}

if (pr->power.states[i].promotion.state)
seq_printf(seq, "promotion[C%zd] ",
(pr->power.states[i].promotion.state -
pr->power.states));
else
seq_puts(seq, "promotion[--] ");

if (pr->power.states[i].demotion.state)
seq_printf(seq, "demotion[C%zd] ",
(pr->power.states[i].demotion.state -
pr->power.states));
else
seq_puts(seq, "demotion[--] ");
seq_puts(seq, "promotion[--] ");

seq_puts(seq, "demotion[--] ");

seq_printf(seq, "latency[%03d] usage[%08d] duration[%020llu]\n",
pr->power.states[i].latency,
Expand Down
13 changes: 0 additions & 13 deletions trunk/include/acpi/processor.h
Original file line number Diff line number Diff line change
Expand Up @@ -52,17 +52,6 @@ struct acpi_power_register {
u64 address;
} __attribute__ ((packed));

struct acpi_processor_cx_policy {
u32 count;
struct acpi_processor_cx *state;
struct {
u32 time;
u32 ticks;
u32 count;
u32 bm;
} threshold;
};

struct acpi_processor_cx {
u8 valid;
u8 type;
Expand All @@ -74,8 +63,6 @@ struct acpi_processor_cx {
u32 power;
u32 usage;
u64 time;
struct acpi_processor_cx_policy promotion;
struct acpi_processor_cx_policy demotion;
char desc[ACPI_CX_DESC_LEN];
};

Expand Down

0 comments on commit 921fffc

Please sign in to comment.