diff options
author | Len Brown <len.brown@intel.com> | 2011-01-12 11:01:08 +0100 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2011-01-12 11:01:08 +0100 |
commit | fe3ded5078e957d80c43837e1966429cf0029c10 (patch) | |
tree | 3d119165a177c5aef9490defde861c4e733191e6 /include/acpi | |
parent | Merge branch 'thermal' into release (diff) | |
parent | ACPI: Reevaluate whether the T-state is supported or not after cpu is online/... (diff) | |
download | linux-fe3ded5078e957d80c43837e1966429cf0029c10.tar.xz linux-fe3ded5078e957d80c43837e1966429cf0029c10.zip |
Merge branch 'throttling' into release
Diffstat (limited to 'include/acpi')
-rw-r--r-- | include/acpi/processor.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/acpi/processor.h b/include/acpi/processor.h index 1b62102fbb67..55192ac0cede 100644 --- a/include/acpi/processor.h +++ b/include/acpi/processor.h @@ -324,6 +324,12 @@ int acpi_processor_tstate_has_changed(struct acpi_processor *pr); int acpi_processor_get_throttling_info(struct acpi_processor *pr); extern int acpi_processor_set_throttling(struct acpi_processor *pr, int state, bool force); +/* + * Reevaluate whether the T-state is invalid after one cpu is + * onlined/offlined. In such case the flags.throttling will be updated. + */ +extern void acpi_processor_reevaluate_tstate(struct acpi_processor *pr, + unsigned long action); extern const struct file_operations acpi_processor_throttling_fops; extern void acpi_processor_throttling_init(void); /* in processor_idle.c */ |