diff options
author | Srinivas Pandruvada <[email protected]> | 2016-10-28 10:44:52 -0700 |
---|---|---|
committer | Rafael J. Wysocki <[email protected]> | 2016-11-01 06:10:54 +0100 |
commit | a410c03d668122923ab9b17c0c5728b520edddb4 (patch) | |
tree | 1a7efd942884c001df55c5652ef09f56197ae20e /scripts/gcc-plugins/cyc_complexity_plugin.c | |
parent | 33de45c133b40a129a880c175af4c2bb39dafc88 (diff) |
cpufreq: intel_pstate: protect limits variable
The limits variable gets modified from intel_pstate sysfs and also gets
modified from cpufreq sysfs. So protect with a mutex to keep data
integrity, when they are getting modified from multiple threads.
Signed-off-by: Srinivas Pandruvada <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions