diff options
author | Len Brown <len.brown@intel.com> | 2007-10-10 00:32:13 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2007-10-10 00:32:13 -0400 |
commit | de85871a9a53c00cae4c3a70849b5eaad0eb38b2 (patch) | |
tree | e1f5ea71da333598db35a63a2c6faa1343037412 /include/acpi | |
parent | 731aa5fd9971a5163845fbe55de63d686a11da0a (diff) | |
parent | e196441bdf2dbf0526b28a6829c39557c236d611 (diff) |
Pull cpuidle into test branch
Diffstat (limited to 'include/acpi')
-rw-r--r-- | include/acpi/processor.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/acpi/processor.h b/include/acpi/processor.h index 99934a999e66..26d79f6db8a0 100644 --- a/include/acpi/processor.h +++ b/include/acpi/processor.h | |||
@@ -3,6 +3,7 @@ | |||
3 | 3 | ||
4 | #include <linux/kernel.h> | 4 | #include <linux/kernel.h> |
5 | #include <linux/cpu.h> | 5 | #include <linux/cpu.h> |
6 | #include <linux/cpuidle.h> | ||
6 | 7 | ||
7 | #include <asm/acpi.h> | 8 | #include <asm/acpi.h> |
8 | 9 | ||
@@ -75,7 +76,9 @@ struct acpi_processor_cx { | |||
75 | }; | 76 | }; |
76 | 77 | ||
77 | struct acpi_processor_power { | 78 | struct acpi_processor_power { |
79 | struct cpuidle_device dev; | ||
78 | struct acpi_processor_cx *state; | 80 | struct acpi_processor_cx *state; |
81 | struct acpi_processor_cx *bm_state; | ||
79 | unsigned long bm_check_timestamp; | 82 | unsigned long bm_check_timestamp; |
80 | u32 default_state; | 83 | u32 default_state; |
81 | u32 bm_activity; | 84 | u32 bm_activity; |
@@ -199,6 +202,7 @@ struct acpi_processor_flags { | |||
199 | u8 bm_check:1; | 202 | u8 bm_check:1; |
200 | u8 has_cst:1; | 203 | u8 has_cst:1; |
201 | u8 power_setup_done:1; | 204 | u8 power_setup_done:1; |
205 | u8 bm_rld_set:1; | ||
202 | }; | 206 | }; |
203 | 207 | ||
204 | struct acpi_processor { | 208 | struct acpi_processor { |
@@ -322,6 +326,7 @@ int acpi_processor_power_exit(struct acpi_processor *pr, | |||
322 | struct acpi_device *device); | 326 | struct acpi_device *device); |
323 | int acpi_processor_suspend(struct acpi_device * device, pm_message_t state); | 327 | int acpi_processor_suspend(struct acpi_device * device, pm_message_t state); |
324 | int acpi_processor_resume(struct acpi_device * device); | 328 | int acpi_processor_resume(struct acpi_device * device); |
329 | extern struct cpuidle_driver acpi_idle_driver; | ||
325 | 330 | ||
326 | /* in processor_thermal.c */ | 331 | /* in processor_thermal.c */ |
327 | int acpi_processor_get_limit_info(struct acpi_processor *pr); | 332 | int acpi_processor_get_limit_info(struct acpi_processor *pr); |