summaryrefslogtreecommitdiff
path: root/include/acpi/processor.h
diff options
context:
space:
mode:
authorLen Brown <len.brown@intel.com>2004-12-21 14:26:58 -0500
committerLen Brown <lenb@dhcppc3.>2004-12-21 14:26:58 -0500
commit2af6e243847bd8409c702c0a26133e48f52b030f (patch)
tree42e18cbbdb80070163ac557351c9563cd20615f8 /include/acpi/processor.h
parent4dac0c1ed08965a4909c82c236da83f0b0d094dc (diff)
[ACPI] make the c-state policy decisions of demotion and promotion
independent of the assumption "one state per type." make the state a pointer inside struct acpi_processor_cx_policy. make max_cstate aware of c-state types instead of c-state number. http://bugzilla.kernel.org/show_bug.cgi?id=1958 Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.de> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'include/acpi/processor.h')
-rw-r--r--include/acpi/processor.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/acpi/processor.h b/include/acpi/processor.h
index 08bf422e908e..21a1c19c80ae 100644
--- a/include/acpi/processor.h
+++ b/include/acpi/processor.h
@@ -16,9 +16,11 @@
/* Power Management */
+struct acpi_processor_cx;
+
struct acpi_processor_cx_policy {
u32 count;
- u32 state;
+ struct acpi_processor_cx *state;
struct {
u32 time;
u32 ticks;