mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
ACPI/processor: Convert to hotplug state machine
Install the callbacks via the state machine. Signed-off-by: Sebastian Andrzej Siewior <[email protected]> Acked-by: "Rafael J. Wysocki" <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: [email protected] Cc: [email protected] Cc: Len Brown <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Thomas Gleixner <[email protected]>
This commit is contained in:
parent
8904f5a5af
commit
64f3bf2f85
4 changed files with 52 additions and 48 deletions
|
|
@ -359,7 +359,7 @@ extern int acpi_processor_set_throttling(struct acpi_processor *pr,
|
|||
* onlined/offlined. In such case the flags.throttling will be updated.
|
||||
*/
|
||||
extern void acpi_processor_reevaluate_tstate(struct acpi_processor *pr,
|
||||
unsigned long action);
|
||||
bool is_dead);
|
||||
extern const struct file_operations acpi_processor_throttling_fops;
|
||||
extern void acpi_processor_throttling_init(void);
|
||||
#else
|
||||
|
|
@ -380,7 +380,7 @@ static inline int acpi_processor_set_throttling(struct acpi_processor *pr,
|
|||
}
|
||||
|
||||
static inline void acpi_processor_reevaluate_tstate(struct acpi_processor *pr,
|
||||
unsigned long action) {}
|
||||
bool is_dead) {}
|
||||
|
||||
static inline void acpi_processor_throttling_init(void) {}
|
||||
#endif /* CONFIG_ACPI_CPU_FREQ_PSS */
|
||||
|
|
|
|||
Loading…
Reference in a new issue