diff options
| author | Srivatsa S. Bhat <srivatsa.bhat@linux.vnet.ibm.com> | 2013-09-06 15:53:55 -0400 |
|---|---|---|
| committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-09-09 20:49:47 -0400 |
| commit | 56d07db274b7b15ca38b60ea4a762d40de093000 (patch) | |
| tree | e0168e68e3957a3122b1ed8069799b53078a0b05 /include/linux | |
| parent | 4f750c930822b92df74327a4d1364eff87701360 (diff) | |
cpufreq: Remove temporary fix for race between CPU hotplug and sysfs-writes
Commit "cpufreq: serialize calls to __cpufreq_governor()" had been a temporary
and partial solution to the race condition between writing to a cpufreq sysfs
file and taking a CPU offline. Now that we have a proper and complete solution
to that problem, remove the temporary fix.
Signed-off-by: Srivatsa S. Bhat <srivatsa.bhat@linux.vnet.ibm.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/cpufreq.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/cpufreq.h b/include/linux/cpufreq.h index cca885dac1d3..d568f3975eeb 100644 --- a/include/linux/cpufreq.h +++ b/include/linux/cpufreq.h | |||
| @@ -76,7 +76,6 @@ struct cpufreq_policy { | |||
| 76 | struct cpufreq_governor *governor; /* see below */ | 76 | struct cpufreq_governor *governor; /* see below */ |
| 77 | void *governor_data; | 77 | void *governor_data; |
| 78 | bool governor_enabled; /* governor start/stop flag */ | 78 | bool governor_enabled; /* governor start/stop flag */ |
| 79 | bool governor_busy; | ||
| 80 | 79 | ||
| 81 | struct work_struct update; /* if update_policy() needs to be | 80 | struct work_struct update; /* if update_policy() needs to be |
| 82 | * called, but you're in IRQ context */ | 81 | * called, but you're in IRQ context */ |
