mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-22 23:04:43 +00:00
Merge branch 'pm-cpufreq-governor' into pm-cpufreq
This commit is contained in:
commit
a5acbfbd70
17 changed files with 1086 additions and 1203 deletions
|
@ -80,7 +80,6 @@ struct cpufreq_policy {
|
|||
unsigned int last_policy; /* policy before unplug */
|
||||
struct cpufreq_governor *governor; /* see below */
|
||||
void *governor_data;
|
||||
bool governor_enabled; /* governor start/stop flag */
|
||||
char last_governor[CPUFREQ_NAME_LEN]; /* last governor used */
|
||||
|
||||
struct work_struct update; /* if update_policy() needs to be
|
||||
|
@ -100,10 +99,6 @@ struct cpufreq_policy {
|
|||
* - Any routine that will write to the policy structure and/or may take away
|
||||
* the policy altogether (eg. CPU hotplug), will hold this lock in write
|
||||
* mode before doing so.
|
||||
*
|
||||
* Additional rules:
|
||||
* - Lock should not be held across
|
||||
* __cpufreq_governor(data, CPUFREQ_GOV_POLICY_EXIT);
|
||||
*/
|
||||
struct rw_semaphore rwsem;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue