aboutsummaryrefslogtreecommitdiffstats
path: root/include/acpi
diff options
context:
space:
mode:
authorLen Brown <len.brown@intel.com>2011-01-12 05:01:08 -0500
committerLen Brown <len.brown@intel.com>2011-01-12 05:01:08 -0500
commitfe3ded5078e957d80c43837e1966429cf0029c10 (patch)
tree3d119165a177c5aef9490defde861c4e733191e6 /include/acpi
parentMerge branch 'thermal' into release (diff)
parentACPI: Reevaluate whether the T-state is supported or not after cpu is online/offline (diff)
downloadlinux-dev-fe3ded5078e957d80c43837e1966429cf0029c10.tar.xz
linux-dev-fe3ded5078e957d80c43837e1966429cf0029c10.zip
Merge branch 'throttling' into release
Diffstat (limited to 'include/acpi')
-rw-r--r--include/acpi/processor.h6
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 */